feat: 优化

pull/219/head
kunfei 5 years ago
parent d0a06f6336
commit 0aaf7bfe9e
  1. 2
      app/src/main/java/io/legado/app/ui/replacerule/edit/ReplaceEditDialog.kt

@ -77,7 +77,7 @@ class ReplaceEditDialog : DialogFragment(),
}
et_replace_rule.onFocusChange { v, hasFocus ->
if (hasFocus) {
mSoftKeyboardTool.width = et_replace_rule.width
mSoftKeyboardTool.width = v.width
mSoftKeyboardTool.showAsDropDown(v)
} else {
mSoftKeyboardTool.dismiss()

Loading…
Cancel
Save