|
|
|
@ -234,6 +234,7 @@ class BookSourceEditActivity : |
|
|
|
|
add(EditEntity("replaceRegex", cr?.replaceRegex, R.string.rule_replace_regex)) |
|
|
|
|
add(EditEntity("imageStyle", cr?.imageStyle, R.string.rule_image_style)) |
|
|
|
|
add(EditEntity("font", cr?.font, R.string.rule_font)) |
|
|
|
|
add(EditEntity("correctFont", cr?.font, R.string.rule_correct_font)) |
|
|
|
|
} |
|
|
|
|
//发现 |
|
|
|
|
val er = source?.getExploreRule() |
|
|
|
@ -338,6 +339,7 @@ class BookSourceEditActivity : |
|
|
|
|
"replaceRegex" -> contentRule.replaceRegex = it.value |
|
|
|
|
"imageStyle" -> contentRule.imageStyle = it.value |
|
|
|
|
"font" -> contentRule.font = it.value |
|
|
|
|
"correctFont" -> contentRule.font = it.value |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
source.ruleSearch = searchRule |
|
|
|
|