Merge pull request #457 from KKL369/master

修复“添加本地”不能进入子目录
pull/461/head 3.20.110116
kunfei 4 years ago committed by GitHub
commit 10559f4de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt

@ -299,7 +299,7 @@ class ImportBookActivity : VMBaseActivity<ImportBookViewModel>(R.layout.activity
if (uri.toString().isContentPath()) { if (uri.toString().isContentPath()) {
subDocs.add(DocumentFile.fromSingleUri(this, uri)!!) subDocs.add(DocumentFile.fromSingleUri(this, uri)!!)
} else { } else {
path = uri.toString() path = uri.path.toString()
} }
upPath() upPath()
} }

Loading…
Cancel
Save