mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -404,6 +404,11 @@ class ReadBookActivity : BaseReadBookActivity(),
|
||||
}
|
||||
}
|
||||
|
||||
override fun onNightModeChanged(mode: Int) {
|
||||
super.onNightModeChanged(mode)
|
||||
binding.readView.invalidateTextPage()
|
||||
}
|
||||
|
||||
/**
|
||||
* 菜单
|
||||
*/
|
||||
@@ -1585,9 +1590,6 @@ class ReadBookActivity : BaseReadBookActivity(),
|
||||
observeEvent<Boolean>(EventBus.UP_SEEK_BAR) {
|
||||
binding.readMenu.upSeekBar()
|
||||
}
|
||||
observeEvent<String>(EventBus.RECREATE) {
|
||||
binding.readView.invalidateTextPage()
|
||||
}
|
||||
}
|
||||
|
||||
private fun upScreenTimeOut() {
|
||||
|
||||
Reference in New Issue
Block a user