mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
99220cb779
commit
72d090f180
@ -76,10 +76,12 @@ class SearchContentActivity :
|
||||
|
||||
override fun dispatchTouchEvent(ev: MotionEvent): Boolean {
|
||||
if (ev.action == MotionEvent.ACTION_DOWN) {
|
||||
currentFocus?.let {
|
||||
if (it is EditText) {
|
||||
it.clearFocus()
|
||||
it.hideSoftInput()
|
||||
searchView.post {
|
||||
currentFocus?.let {
|
||||
if (it is EditText) {
|
||||
it.clearFocus()
|
||||
it.hideSoftInput()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user