|
@@ -441,11 +441,11 @@ object ReadBook : CoroutineScope by MainScope() {
|
|
|
pageChanged: Boolean,
|
|
pageChanged: Boolean,
|
|
|
success: (() -> Unit)? = null
|
|
success: (() -> Unit)? = null
|
|
|
) {
|
|
) {
|
|
|
|
|
+ removeLoading(chapter.index)
|
|
|
if (chapter.index !in durChapterIndex - 1..durChapterIndex + 1) {
|
|
if (chapter.index !in durChapterIndex - 1..durChapterIndex + 1) {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
Coroutine.async {
|
|
Coroutine.async {
|
|
|
- removeLoading(chapter.index)
|
|
|
|
|
val contentProcessor = ContentProcessor.get(book.name, book.origin)
|
|
val contentProcessor = ContentProcessor.get(book.name, book.origin)
|
|
|
val displayTitle = chapter.getDisplayTitle(
|
|
val displayTitle = chapter.getDisplayTitle(
|
|
|
contentProcessor.getTitleReplaceRules(),
|
|
contentProcessor.getTitleReplaceRules(),
|