pull/1603/head
kunfei 3 years ago
parent eecf1d6699
commit 389f7612ac
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/config/TocRegexDialog.kt

@ -118,7 +118,7 @@ class TocRegexDialog() : BaseDialogFragment(R.layout.dialog_toc_regex),
R.id.menu_limit_content_length -> { R.id.menu_limit_content_length -> {
ReadBook.book?.setLimitContentLength(!item.isChecked) ReadBook.book?.setLimitContentLength(!item.isChecked)
item.isChecked = !item.isChecked item.isChecked = !item.isChecked
if (item.isChecked) context?.longToastOnUi(R.string.need_more_time_load_content) if (!item.isChecked) context?.longToastOnUi(R.string.need_more_time_load_content)
} }
} }
return false return false

Loading…
Cancel
Save