Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f3df9d2 authored by cketti's avatar cketti
Browse files

Avoid UninitializedPropertyAccessException

parent 6c325f11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -675,7 +675,7 @@ open class MessageList :

    override fun dispatchKeyEvent(event: KeyEvent): Boolean {
        var eventHandled = false
        if (event.action == KeyEvent.ACTION_DOWN && searchView.isIconified) {
        if (event.action == KeyEvent.ACTION_DOWN && ::searchView.isInitialized && searchView.isIconified) {
            eventHandled = onCustomKeyDown(event)
        }