mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 17:10:48 +01:00
Fixed marked previous as read not deleting chapters (#1283)
This commit is contained in:
parent
1b7a0de745
commit
ea32ea11f2
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class ChaptersController : NucleusController<ChaptersPresenter>(),
|
|||
val chapters = if (presenter.sortDescending()) adapter.items.reversed() else adapter.items
|
||||
val chapterPos = chapters.indexOf(chapter)
|
||||
if (chapterPos != -1) {
|
||||
presenter.markChaptersRead(chapters.take(chapterPos), true)
|
||||
markAsRead(chapters.take(chapterPos))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue