这个null不要改,方便导出后确认哪些章节没有下载

This commit is contained in:
kunfei 2022-01-29 23:36:11 +08:00
parent 9e1bff3452
commit e5f39b45de

View File

@ -163,7 +163,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
.getContent( .getContent(
book, book,
chapter, chapter,
content ?: "", content ?: "null",
includeTitle = !AppConfig.exportNoChapterName, includeTitle = !AppConfig.exportNoChapterName,
useReplace = useReplace, useReplace = useReplace,
chineseConvert = false, chineseConvert = false,
@ -419,7 +419,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
upAdapterLiveData.postValue(book.bookUrl) upAdapterLiveData.postValue(book.bookUrl)
exportProgress[book.bookUrl] = index exportProgress[book.bookUrl] = index
BookHelp.getContent(book, chapter).let { content -> BookHelp.getContent(book, chapter).let { content ->
var content1 = fixPic(epubBook, book, content ?: "", chapter) var content1 = fixPic(epubBook, book, content ?: "null", chapter)
content1 = contentProcessor content1 = contentProcessor
.getContent( .getContent(
book, book,