pull/2431/head
kunfei 2 years ago
parent 5b0a580fc6
commit 4b1f386334
  1. 8
      app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt

@ -400,6 +400,14 @@ class SearchActivity : VMBaseActivity<ActivityBookSearchBinding, SearchViewModel
}
}
override fun finish() {
if (searchView.hasFocus()) {
searchView.clearFocus()
return
}
super.finish()
}
companion object {
fun start(context: Context, key: String?) {

Loading…
Cancel
Save