From 389f7612ac05538c66d73cd877024c8b2961df7b Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 8 Feb 2022 12:28:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/config/TocRegexDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/TocRegexDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/TocRegexDialog.kt index 8bf8bceb3..78c157280 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/TocRegexDialog.kt +++ b/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 -> { ReadBook.book?.setLimitContentLength(!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