|
|
@ -554,18 +554,31 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 替换规则变化 |
|
|
|
|
|
|
|
*/ |
|
|
|
override fun onReplaceRuleSave() { |
|
|
|
override fun onReplaceRuleSave() { |
|
|
|
Coroutine.async { BookHelp.upReplaceRules() } |
|
|
|
Coroutine.async { BookHelp.upReplaceRules() } |
|
|
|
|
|
|
|
ReadBook.loadContent() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 显示阅读样式配置 |
|
|
|
|
|
|
|
*/ |
|
|
|
override fun showReadStyle() { |
|
|
|
override fun showReadStyle() { |
|
|
|
ReadStyleDialog().show(supportFragmentManager, "readStyle") |
|
|
|
ReadStyleDialog().show(supportFragmentManager, "readStyle") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 显示更多设置 |
|
|
|
|
|
|
|
*/ |
|
|
|
override fun showMoreSetting() { |
|
|
|
override fun showMoreSetting() { |
|
|
|
MoreConfigDialog().show(supportFragmentManager, "moreConfig") |
|
|
|
MoreConfigDialog().show(supportFragmentManager, "moreConfig") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 更新状态栏,导航栏 |
|
|
|
|
|
|
|
*/ |
|
|
|
override fun upSystemUiVisibility() { |
|
|
|
override fun upSystemUiVisibility() { |
|
|
|
Help.upSystemUiVisibility(this, !read_menu.isVisible) |
|
|
|
Help.upSystemUiVisibility(this, !read_menu.isVisible) |
|
|
|
} |
|
|
|
} |
|
|
|