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
No related tags found
1 merge request!627Crash fixes
......@@ -94,7 +94,7 @@ open class SearchActivity : BaseActivity(), TextWatcher, TextView.OnEditorAction
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) {
UiTools.setKeyboardVisibility(binding.root, false)
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