TXT初始化目录时不应启用已关闭的规则
This commit is contained in:
1 parent
68dc4d368d
commit
03118eb2d4
1 file changed
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user