From ce2ed7cd06bbfd742004034dc320524aa1029c0c Mon Sep 17 00:00:00 2001 From: fisher Date: Thu, 3 Feb 2022 22:01:11 +0800 Subject: [PATCH] =?UTF-8?q?TXT=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E6=97=B6=E4=B8=8D=E5=BA=94=E5=90=AF=E7=94=A8=E5=B7=B2?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E7=9A=84=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/localBook/TextFile.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/localBook/TextFile.kt b/app/src/main/java/io/legado/app/model/localBook/TextFile.kt index ed8879eaa..d3c767412 100644 --- a/app/src/main/java/io/legado/app/model/localBook/TextFile.kt +++ b/app/src/main/java/io/legado/app/model/localBook/TextFile.kt @@ -307,7 +307,7 @@ class TextFile(private val book: Book) { */ private fun getTocRule(content: String): Pattern? { tocRules.addAll(getTocRules(content, getTocRules().reversed())) - tocRules.addAll(getTocRules(content, appDb.txtTocRuleDao.disabled.reversed())) + //tocRules.addAll(getTocRules(content, appDb.txtTocRuleDao.disabled.reversed())) return tocRules.firstOrNull() }