pull/32/head
kunfei 5 years ago
parent ec6a43a329
commit 6c8645990a
  1. 5
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -90,6 +90,11 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
Help.upSystemUiVisibility(window, !read_menu.isVisible)
}
override fun onDestroy() {
super.onDestroy()
viewModel.saveRead()
}
/**
* 初始化View
*/

Loading…
Cancel
Save