mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 21:21:51 +01:00
Fix recents history not showing next chapter
This commit is contained in:
parent
02e483f853
commit
962877ff08
@ -182,7 +182,7 @@ class RecentsPresenter(
|
||||
}
|
||||
val pairs = mangaList.mapNotNull {
|
||||
val chapter = when {
|
||||
viewType == VIEW_TYPE_ONLY_HISTORY -> it.chapter
|
||||
viewType == VIEW_TYPE_ONLY_UPDATES -> it.chapter
|
||||
it.chapter.read || it.chapter.id == null -> getNextChapter(it.manga)
|
||||
?: if (showRead && it.chapter.id != null) it.chapter else null
|
||||
it.history.id == null -> getFirstUpdatedChapter(it.manga, it.chapter)
|
||||
|
Loading…
Reference in New Issue
Block a user