mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
ce1d23a029
commit
d115910e9b
@ -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) {
|
observeEvent<Boolean>(EventBus.UP_SEEK_BAR) {
|
||||||
binding.readMenu.upSeekBar()
|
binding.readMenu.upSeekBar()
|
||||||
}
|
}
|
||||||
observeEvent<String>(EventBus.RECREATE) {
|
|
||||||
binding.readView.invalidateTextPage()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun upScreenTimeOut() {
|
private fun upScreenTimeOut() {
|
||||||
|
Loading…
Reference in New Issue
Block a user