优化
This commit is contained in:
1 parent
d08c3c58d6
commit
cda7c78f7a
1 file changed
+2
@@ -18,6 +18,7 @@ import io.legado.app.model.analyzeRule.AnalyzeUrl
|
||||
import io.legado.app.utils.*
|
||||
import splitties.init.appCtx
|
||||
import java.io.*
|
||||
import java.net.URLEncoder
|
||||
import java.util.regex.Pattern
|
||||
|
||||
/**
|
||||
@@ -274,6 +275,7 @@ object LocalBook {
|
||||
fileName: String
|
||||
): Boolean {
|
||||
return appDb.bookDao.hasFile(fileName) == true
|
||||
|| appDb.bookDao.hasFile(URLEncoder.encode(fileName, "UTF-8")) == true
|
||||
}
|
||||
|
||||
//文件类书源 合并在线书籍信息 在线 > 本地
|
||||
|
||||
Reference in new issue
Block a user