Commit d22d552b authored by wanglei's avatar wanglei

...

parent b2316165
...@@ -173,9 +173,9 @@ class HistoryFragment : BaseFragment<FragmentHistoryBinding>(FragmentHistoryBind ...@@ -173,9 +173,9 @@ class HistoryFragment : BaseFragment<FragmentHistoryBinding>(FragmentHistoryBind
} }
if (sortType == SORT_TIME) { if (sortType == SORT_TIME) {
return if (aesOrDes) { return if (aesOrDes) {
createList.sortedBy { it.createTime }
} else {
createList.sortedByDescending { it.createTime } createList.sortedByDescending { it.createTime }
} else {
createList.sortedBy { it.createTime }
} }
} }
if (sortType == SORT_TYPE) { if (sortType == SORT_TYPE) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment