mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
6058c4a3ee
commit
d647ccf4ea
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user