pull/83/head
kunfei 5 years ago
parent 4e21a1ce19
commit 361b5ae800
  1. 6
      app/src/main/java/io/legado/app/ui/importbook/ImportBookActivity.kt

@ -59,7 +59,11 @@ class ImportBookActivity : VMBaseActivity<ImportBookViewModel>(R.layout.activity
private fun getPath(): String {
rootDoc?.let {
return it.name + File.separator + subDirs.joinToString(File.separator)
var path = it.name + File.separator + subDirs.joinToString(File.separator)
if (!path.endsWith(File.separator)) {
path += File.separator
}
return path
}
return ""
}

Loading…
Cancel
Save