mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 16:00:48 +01:00
Compare recent updates by both date and chapter number
This commit is contained in:
parent
eb724336f5
commit
958dbfdfa5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue