diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 57d9d375d..7aed7c0ca 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -90,6 +90,11 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea Help.upSystemUiVisibility(window, !read_menu.isVisible) } + override fun onDestroy() { + super.onDestroy() + viewModel.saveRead() + } + /** * 初始化View */