fix: 综合排序

This commit is contained in:
adhu2018 2024-04-28 01:01:58 +08:00
parent 59d4bb6c8e
commit 5b86fb8dd8
No known key found for this signature in database
GPG Key ID: 1FBBB9FBAA8B8ECF

View File

@ -148,6 +148,11 @@ class BookshelfFragment2() : BaseBookshelfFragment(R.layout.fragment_bookshelf2)
3 -> list.sortedBy {
it.order
}
4 -> list.sortedByDescending {
max(it.latestChapterTime, it.durChapterTime)
}
else -> list.sortedByDescending {
it.durChapterTime
}