优化
This commit is contained in:
1 parent
a8bc817e96
commit
b691cd7e19
1 file changed
+1
-1
@@ -441,11 +441,11 @@ object ReadBook : CoroutineScope by MainScope() {
|
||||
pageChanged: Boolean,
|
||||
success: (() -> Unit)? = null
|
||||
) {
|
||||
removeLoading(chapter.index)
|
||||
if (chapter.index !in durChapterIndex - 1..durChapterIndex + 1) {
|
||||
return
|
||||
}
|
||||
Coroutine.async {
|
||||
removeLoading(chapter.index)
|
||||
val contentProcessor = ContentProcessor.get(book.name, book.origin)
|
||||
val displayTitle = chapter.getDisplayTitle(
|
||||
contentProcessor.getTitleReplaceRules(),
|
||||
|
||||
Reference in new issue
Block a user