pull/1740/head
kunfei 3 years ago
parent cecf733c77
commit 28f63d1c19
  1. 2
      app/src/main/java/io/legado/app/ui/book/local/ImportBookViewModel.kt

@ -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 })

Loading…
Cancel
Save