From ad24761a10b2366fa4d4b7fe31b3b0a3bdf297e7 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 18 Nov 2020 16:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/book/cache/CacheViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1940218f5..69a91d791 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 @@ -93,7 +93,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) { App.db.bookChapterDao().getChapterList(book.bookUrl).forEach { chapter -> BookHelp.getContent(book, chapter).let { content -> val content1 = contentProcessor - .getContent(book, chapter.title, content ?: "", false) + .getContent(book, chapter.title, content ?: "null", false) .joinToString("\n") stringBuilder.append("\n\n") .append(content1)