From a2f4a1c92833e798c74f08b41c7e776a469ef718 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 4 Oct 2020 18:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/local/ImportBookActivity.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 86c5e5ecd..42da2f587 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 @@ -165,10 +165,7 @@ class ImportBookActivity : VMBaseActivity(R.layout.activity adapter.selectedUris.clear() adapter.clearItems() launch(IO) { - val docList = DocumentUtils.listFiles( - this@ImportBookActivity, - lastDoc.uri - ) + val docList = DocumentUtils.listFiles(this@ImportBookActivity, lastDoc.uri) for (i in docList.lastIndex downTo 0) { val item = docList[i] if (item.name.startsWith(".")) {