pull/2628/head
kunfei 2 years ago
parent 453db275eb
commit 6ebcf0c354
  1. 6
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -261,6 +261,12 @@ class ReadBookActivity : BaseReadBookActivity(),
return super.onPrepareOptionsMenu(menu)
}
override fun onMenuOpened(featureId: Int, menu: Menu): Boolean {
menu.findItem(R.id.menu_same_title_removed).isChecked =
ReadBook.curTextChapter?.sameTitleRemoved == true
return super.onMenuOpened(featureId, menu)
}
/**
* 更新菜单
*/

Loading…
Cancel
Save