pull/2287/head
Horis 2 years ago
parent 431d726b65
commit 5a07143ab4
  1. 2
      app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt

@ -200,7 +200,7 @@ class ImportBookActivity : VMBaseActivity<ActivityImportBookBinding, ImportBookV
private fun upSort(sort: Int) {
viewModel.sort = sort
putPrefInt(PreferKey.localBookImportSort, sort)
if (scanDocJob?.isCancelled == true || scanDocJob?.isCompleted == true) {
if (scanDocJob?.isActive != true) {
viewModel.dataCallback?.setItems(adapter.getItems())
}
}

Loading…
Cancel
Save