mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 23:29:16 +01:00
Fixed marked previous as read not deleting chapters (#1283)
This commit is contained in:
parent
1b7a0de745
commit
ea32ea11f2
@ -387,7 +387,7 @@ class ChaptersController : NucleusController<ChaptersPresenter>(),
|
|||||||
val chapters = if (presenter.sortDescending()) adapter.items.reversed() else adapter.items
|
val chapters = if (presenter.sortDescending()) adapter.items.reversed() else adapter.items
|
||||||
val chapterPos = chapters.indexOf(chapter)
|
val chapterPos = chapters.indexOf(chapter)
|
||||||
if (chapterPos != -1) {
|
if (chapterPos != -1) {
|
||||||
presenter.markChaptersRead(chapters.take(chapterPos), true)
|
markAsRead(chapters.take(chapterPos))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user