pull/49/head
kunfei 5 years ago
parent 17ac95ca22
commit b6c7febe9e
  1. 2
      app/src/main/java/io/legado/app/ui/replacerule/edit/ReplaceEditDialog.kt

@ -87,7 +87,7 @@ class ReplaceEditDialog : DialogFragment(),
val replaceRule: ReplaceRule = viewModel.replaceRuleData.value ?: ReplaceRule()
replaceRule.name = et_name.text.toString()
replaceRule.group = et_group.text.toString()
replaceRule.pattern = et_group.text.toString()
replaceRule.pattern = et_replace_rule.text.toString()
replaceRule.isRegex = cb_use_regex.isChecked
replaceRule.replacement = et_replace_to.text.toString()
replaceRule.scope = et_scope.text.toString()

Loading…
Cancel
Save