Skip to content
Snippets Groups Projects
Commit f0a13c17 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix IllegalArgumentException

parent f613955e
No related branches found
Tags 3.4.3-beta05
1 merge request!627Crash fixes
...@@ -94,7 +94,7 @@ open class SearchActivity : BaseActivity(), TextWatcher, TextView.OnEditorAction ...@@ -94,7 +94,7 @@ open class SearchActivity : BaseActivity(), TextWatcher, TextView.OnEditorAction
performSearh(s.toString()) performSearh(s.toString())
} }
override fun onEditorAction(v: TextView, actionId: Int, event: KeyEvent): Boolean { override fun onEditorAction(v: TextView?, actionId: Int, event: KeyEvent?): Boolean {
if (actionId == EditorInfo.IME_ACTION_SEARCH) { if (actionId == EditorInfo.IME_ACTION_SEARCH) {
UiTools.setKeyboardVisibility(binding.root, false) UiTools.setKeyboardVisibility(binding.root, false)
return true return true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment