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 85d5aaa87..94e7fdde1 100644 --- a/app/src/main/java/io/legado/app/help/BookHelp.kt +++ b/app/src/main/java/io/legado/app/help/BookHelp.kt @@ -56,7 +56,6 @@ object BookHelp { } } - @Synchronized fun saveContent(book: Book, bookChapter: BookChapter, content: String) { if (content.isEmpty()) return //保存文本 @@ -80,7 +79,7 @@ object BookHelp { } fun saveImage(book: Book, src:String) { - val analyzeUrl = AnalyzeUrl(src, null, null, null, null) + val analyzeUrl = AnalyzeUrl(src) analyzeUrl.getImageBytes(book.origin)?.let { FileUtils.createFileIfNotExist( downloadDir,