feat: 优化代码

pull/172/head
kunfei 5 years ago
parent cae5f547eb
commit deaceb9840
  1. 1
      app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt

@ -159,6 +159,7 @@ class ImportBookActivity : VMBaseActivity<ImportBookViewModel>(R.layout.activity
}
}
} ?: let {
tv_path.text = path
val docList = arrayListOf<DocItem>()
File(path).listFiles()?.forEach {
if (it.isDirectory) {

Loading…
Cancel
Save