|
|
@ -225,10 +225,11 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { |
|
|
|
execute { |
|
|
|
execute { |
|
|
|
if (chapter.index in durChapterIndex - 1..durChapterIndex + 1) { |
|
|
|
if (chapter.index in durChapterIndex - 1..durChapterIndex + 1) { |
|
|
|
val c = BookHelp.disposeContent( |
|
|
|
val c = BookHelp.disposeContent( |
|
|
|
bookData.value?.name ?: "", |
|
|
|
chapter.title, |
|
|
|
|
|
|
|
bookData.value!!.name, |
|
|
|
webBook?.bookSource?.bookSourceUrl, |
|
|
|
webBook?.bookSource?.bookSourceUrl, |
|
|
|
content, |
|
|
|
content, |
|
|
|
bookData.value?.useReplaceRule ?: true |
|
|
|
bookData.value!!.useReplaceRule |
|
|
|
) |
|
|
|
) |
|
|
|
callBack?.contentLoadFinish(chapter, c) |
|
|
|
callBack?.contentLoadFinish(chapter, c) |
|
|
|
} |
|
|
|
} |
|
|
|