Fixed marked previous as read not deleting chapters (#1283)

This commit is contained in:
Vesnyx 2018-03-07 11:02:59 -08:00 committed by inorichi
parent 1b7a0de745
commit ea32ea11f2

View File

@ -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))
}
}