From 5da926b5e13179d3fb58f3b23da86a58c134efb7 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 15 Dec 2020 19:49:49 +0800 Subject: [PATCH 1/2] update updateLog.md --- app/src/main/assets/updateLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 8c1618ac4..a6fc52323 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -6,7 +6,7 @@ **2020/12/15** * 修复一些引起崩溃的bug * 修复搜书和换源可能什么分组都没有的bug -* 添加同步进度开关,默认开启 +* 添加同步进度开关,默认开启,在备份与恢复里面 **2020/12/14** * 修复bug From a55aef0d24d4d3b6ca40a98f9ac8ee6fe4f1cd8a Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 15 Dec 2020 20:43:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/local/ImportBookAdapter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt b/app/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt index 9391f85bb..269125da4 100644 --- a/app/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt @@ -94,7 +94,7 @@ class ImportBookAdapter(context: Context, val callBack: CallBack) : private fun upCheckableCount() { checkableCount = 0 getItems().forEach { - if (!it.isDir && !bookFileNames.contains(it.uri.toString())) { + if (!it.isDir && !bookFileNames.contains(it.name)) { checkableCount++ } } @@ -104,7 +104,7 @@ class ImportBookAdapter(context: Context, val callBack: CallBack) : fun selectAll(selectAll: Boolean) { if (selectAll) { getItems().forEach { - if (!it.isDir && !bookFileNames.contains(it.uri.toString())) { + if (!it.isDir && !bookFileNames.contains(it.name)) { selectedUris.add(it.uri.toString()) } }