From f4100a5ffcd4d95d11337738742d18b5694499cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A3=E5=8F=A3=E5=90=95?= <156081428@qq.com> Date: Sun, 1 Nov 2020 16:12:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8D=E8=83=BD=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E5=AD=90=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/local/ImportBookActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt index 1bda5c1f7..b5615344e 100644 --- a/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt @@ -299,7 +299,7 @@ class ImportBookActivity : VMBaseActivity(R.layout.activity if (uri.toString().isContentPath()) { subDocs.add(DocumentFile.fromSingleUri(this, uri)!!) } else { - path = uri.toString() + path = uri.path.toString() } upPath() }