mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-11 14:29:08 +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 pairs = mangaList.mapNotNull {
|
||||||
val chapter = when {
|
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)
|
it.chapter.read || it.chapter.id == null -> getNextChapter(it.manga)
|
||||||
?: if (showRead && it.chapter.id != null) it.chapter else null
|
?: if (showRead && it.chapter.id != null) it.chapter else null
|
||||||
it.history.id == null -> getFirstUpdatedChapter(it.manga, it.chapter)
|
it.history.id == null -> getFirstUpdatedChapter(it.manga, it.chapter)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user