mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -61,7 +61,7 @@ class ImportBookViewModel(application: Application) : BaseViewModel(application)
|
||||
compareBy({ !it.isDir }, { -it.lastModified }, { it.name })
|
||||
)
|
||||
1 -> docList.sortedWith(
|
||||
compareBy({ !it.isDir }, { it.size }, { it.name })
|
||||
compareBy({ !it.isDir }, { -it.size }, { it.name })
|
||||
)
|
||||
else -> docList.sortedWith(
|
||||
compareBy({ !it.isDir }, { it.name })
|
||||
|
||||
Reference in New Issue
Block a user