pull/487/head^2
gedoor 4 years ago
parent 1fce69d0cb
commit ad24761a10
  1. 2
      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 -> App.db.bookChapterDao().getChapterList(book.bookUrl).forEach { chapter ->
BookHelp.getContent(book, chapter).let { content -> BookHelp.getContent(book, chapter).let { content ->
val content1 = contentProcessor val content1 = contentProcessor
.getContent(book, chapter.title, content ?: "", false) .getContent(book, chapter.title, content ?: "null", false)
.joinToString("\n") .joinToString("\n")
stringBuilder.append("\n\n") stringBuilder.append("\n\n")
.append(content1) .append(content1)

Loading…
Cancel
Save