diff --git a/app/src/main/java/io/legado/app/help/book/BookExtensions.kt b/app/src/main/java/io/legado/app/help/book/BookExtensions.kt index 763fc645e..635f8a166 100644 --- a/app/src/main/java/io/legado/app/help/book/BookExtensions.kt +++ b/app/src/main/java/io/legado/app/help/book/BookExtensions.kt @@ -107,7 +107,7 @@ fun Book.getLocalUri(): Uri { } // 查找添加本地选择的目录 - if (!importBookDir.isNullOrBlank()) { + if (!importBookDir.isNullOrBlank() && defaultBookDir != importBookDir) { val treeUri = if (importBookDir.isUri()) { Uri.parse(importBookDir) } else {