Merge remote-tracking branch 'origin/master'

This commit is contained in:
kunfei
2022-10-17 15:53:51 +08:00
3 changed files with 6 additions and 4 deletions
@@ -93,6 +93,9 @@ fun Book.getLocalUri(): Uri {
val fileDoc = treeFileDoc.find(originName, 3)
if (fileDoc != null) {
localUriCache[bookUrl] = fileDoc.uri
//更新bookUrl 重启不用再找一遍
bookUrl = fileDoc.toString()
save()
return fileDoc.uri
}
localUriCache[bookUrl] = uri