Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Compare recent updates by both date and chapter number

Cette révision appartient à :
arkon 2020-02-16 17:08:07 -05:00
Parent eb724336f5
révision 958dbfdfa5

Voir le fichier

@ -64,7 +64,7 @@ class RecentChaptersPresenter(
byDay.flatMap { byDay.flatMap {
val dateItem = DateItem(it.key) val dateItem = DateItem(it.key)
it.value it.value
.sortedByDescending { it.chapter.chapter_number } .sortedWith(compareBy({ it.chapter.date_fetch }, { it.chapter.chapter_number })).asReversed()
.map { RecentChapterItem(it.chapter, it.manga, dateItem) } .map { RecentChapterItem(it.chapter, it.manga, dateItem) }
} }
} }