|
|
@ -558,9 +558,11 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo |
|
|
|
* 替换规则变化 |
|
|
|
* 替换规则变化 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
override fun onReplaceRuleSave() { |
|
|
|
override fun onReplaceRuleSave() { |
|
|
|
Coroutine.async { BookHelp.upReplaceRules() } |
|
|
|
Coroutine.async { |
|
|
|
|
|
|
|
BookHelp.upReplaceRules() |
|
|
|
ReadBook.loadContent() |
|
|
|
ReadBook.loadContent() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 显示阅读样式配置 |
|
|
|
* 显示阅读样式配置 |
|
|
@ -637,7 +639,7 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo |
|
|
|
viewModel.openChapter(index) |
|
|
|
viewModel.openChapter(index) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
requestCodeReplace -> ReadBook.loadContent() |
|
|
|
requestCodeReplace -> onReplaceRuleSave() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|