diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index c3d572263..519388b52 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -274,6 +274,7 @@ class ReadBookActivity : BaseReadBookActivity(), } R.id.menu_enable_replace -> ReadBook.book?.let { it.setUseReplaceRule(!it.getUseReplaceRule()) + ReadBook.saveRead() menu?.findItem(R.id.menu_enable_replace)?.isChecked = it.getUseReplaceRule() viewModel.replaceRuleChanged() }