|
|
@ -191,6 +191,11 @@ class ReadBookActivity : BaseReadBookActivity(), |
|
|
|
viewModel.initData(intent) |
|
|
|
viewModel.initData(intent) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override fun onNewIntent(intent: Intent?) { |
|
|
|
|
|
|
|
super.onNewIntent(intent) |
|
|
|
|
|
|
|
viewModel.initData(intent ?: return) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun onWindowFocusChanged(hasFocus: Boolean) { |
|
|
|
override fun onWindowFocusChanged(hasFocus: Boolean) { |
|
|
|
super.onWindowFocusChanged(hasFocus) |
|
|
|
super.onWindowFocusChanged(hasFocus) |
|
|
|
upSystemUiVisibility() |
|
|
|
upSystemUiVisibility() |
|
|
|