书架增加按作者排序 (#4574)
This commit is contained in:
@@ -178,6 +178,10 @@ class BooksFragment() : BaseFragment(R.layout.fragment_books),
|
||||
4 -> list.sortedByDescending {
|
||||
max(it.latestChapterTime, it.durChapterTime)
|
||||
}
|
||||
// 按作者排序
|
||||
5 -> list.sortedWith { o1, o2 ->
|
||||
o1.author.cnCompare(o2.author)
|
||||
}
|
||||
|
||||
else -> list.sortedByDescending { it.durChapterTime }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user