mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05: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