优化
This commit is contained in:
1 parent
2173a40e1c
commit
e249cfba7c
1 file changed
+5
@@ -191,6 +191,11 @@ class ReadBookActivity : BaseReadBookActivity(),
|
||||
viewModel.initData(intent)
|
||||
}
|
||||
|
||||
override fun onNewIntent(intent: Intent?) {
|
||||
super.onNewIntent(intent)
|
||||
viewModel.initData(intent ?: return)
|
||||
}
|
||||
|
||||
override fun onWindowFocusChanged(hasFocus: Boolean) {
|
||||
super.onWindowFocusChanged(hasFocus)
|
||||
upSystemUiVisibility()
|
||||
|
||||
Reference in new issue
Block a user