record2021
gedoor 3 years ago
parent 93f1d0a94c
commit 2790b529b6
  1. 1
      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()
}

Loading…
Cancel
Save