mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 19:05:05 +01:00
Compare recent updates by both date and chapter number
This commit is contained in:
parent
eb724336f5
commit
958dbfdfa5
@ -64,7 +64,7 @@ class RecentChaptersPresenter(
|
||||
byDay.flatMap {
|
||||
val dateItem = DateItem(it.key)
|
||||
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) }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user