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

Unverified Commit 71d9e7f7 authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #5977 from k9mail/GH-5976_fix_lateinit_crash

Avoid UninitializedPropertyAccessException
parents 6c325f11 0f3df9d2
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)
        }