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

Commit 48431e2c authored by cketti's avatar cketti
Browse files

Ignore toolbar actions in message view while message is still loading

parent a5f0572c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -278,6 +278,8 @@ class MessageViewFragment :
    }

    override fun onOptionsItemSelected(item: MenuItem): Boolean {
        if (message == null) return false

        when (item.itemId) {
            R.id.toggle_message_view_theme -> onToggleTheme()
            R.id.delete -> onDelete()