diff --git a/app/src/main/java/io/legado/app/help/BookHelp.kt b/app/src/main/java/io/legado/app/help/BookHelp.kt index 73e303483..a93a0606f 100644 --- a/app/src/main/java/io/legado/app/help/BookHelp.kt +++ b/app/src/main/java/io/legado/app/help/BookHelp.kt @@ -135,11 +135,15 @@ object BookHelp { ?.uri?.readText(App.INSTANCE) } } else { - return FileUtils.createFileIfNotExist( + val path = FileUtils.getPath( File(downloadPath), "${bookChapterName(bookChapter)}.nb", subDirs = *arrayOf(cacheFolderName, bookFolderName(book)) - ).readText() + ) + val file = File(path) + if (file.exists()) { + return file.readText() + } } return null }