From d1b84c433c6779bc63132d7371937af401709c75 Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Sat, 29 Jan 2022 08:29:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E7=99=BD=E7=AB=A0=E8=8A=82=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=97=B6=E8=BE=93=E5=87=BA""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/cache/CacheViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/cache/CacheViewModel.kt b/app/src/main/java/io/legado/app/ui/book/cache/CacheViewModel.kt index e21157ade..2be9f07e3 100644 --- a/app/src/main/java/io/legado/app/ui/book/cache/CacheViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/cache/CacheViewModel.kt @@ -163,7 +163,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) { .getContent( book, chapter, - content ?: "null", + content ?: "", includeTitle = !AppConfig.exportNoChapterName, useReplace = useReplace, chineseConvert = false, @@ -419,7 +419,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) { upAdapterLiveData.postValue(book.bookUrl) exportProgress[book.bookUrl] = index BookHelp.getContent(book, chapter).let { content -> - var content1 = fixPic(epubBook, book, content ?: "null", chapter) + var content1 = fixPic(epubBook, book, content ?: "", chapter) content1 = contentProcessor .getContent( book,