mirror of
https://github.com/gedoor/legado.git
synced 2025-01-09 04:17:45 +08:00
fix: 综合排序
This commit is contained in:
parent
59d4bb6c8e
commit
5b86fb8dd8
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user