添加通用封面规则

pull/1705/head
kunfei 3 years ago
parent 1fef8cb9ca
commit 4dd156b9cd
  1. 1
      app/src/main/java/io/legado/app/ui/config/CoverRuleConfigDialog.kt

@ -22,6 +22,7 @@ class CoverRuleConfigDialog : BaseDialogFragment(R.layout.dialog_cover_rule_conf
} }
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) { override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
binding.cbEnable.isChecked = BookCover.coverRuleConfig.enable
binding.editSearchUrl.setText(BookCover.coverRuleConfig.searchUrl) binding.editSearchUrl.setText(BookCover.coverRuleConfig.searchUrl)
binding.editCoverUrlRule.setText(BookCover.coverRuleConfig.coverRule) binding.editCoverUrlRule.setText(BookCover.coverRuleConfig.coverRule)
binding.tvCancel.onClick { binding.tvCancel.onClick {

Loading…
Cancel
Save