pull/2633/head
Horis 2 years ago
parent ef62006adc
commit 926eea91de
  1. 5
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -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()

Loading…
Cancel
Save