Merge pull request #639 from fatihergin/fix/hide-keyboard-on-search-bar-close-click

hide keyboard while closing search bar
This commit is contained in:
Tibor Kaputa 2023-06-14 23:39:00 +02:00 committed by GitHub
commit 4b3b90e149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,6 +569,7 @@ class MainActivity : SimpleActivity() {
searchQueryET.text?.clear() searchQueryET.text?.clear()
isSearchActive = false isSearchActive = false
search_wrapper.fadeOut() search_wrapper.fadeOut()
hideKeyboard()
} }
private fun getWantedNoteIndex(wantedNoteId: Long?): Int { private fun getWantedNoteIndex(wantedNoteId: Long?): Int {