fix: 综合排序
This commit is contained in:
@@ -148,6 +148,11 @@ class BookshelfFragment2() : BaseBookshelfFragment(R.layout.fragment_bookshelf2)
|
|||||||
3 -> list.sortedBy {
|
3 -> list.sortedBy {
|
||||||
it.order
|
it.order
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4 -> list.sortedByDescending {
|
||||||
|
max(it.latestChapterTime, it.durChapterTime)
|
||||||
|
}
|
||||||
|
|
||||||
else -> list.sortedByDescending {
|
else -> list.sortedByDescending {
|
||||||
it.durChapterTime
|
it.durChapterTime
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user