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

Commit 7bcecf70 authored by m0viefreak's avatar m0viefreak
Browse files

Fix action bar items missing when opening new message.

Calling configureMenu() inside updateMenu() doesn't update the
buttons properly. Instead, call invalidateOptionsMenu(). This forces
the menu to be re-created, and onPreareOptionsMenu() to be called.
From there, configureMenu() is called automatically.
parent 7a5095a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1347,7 +1347,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme

    @Override
    public void updateMenu() {
        configureMenu(mMenu);
        invalidateOptionsMenu();
    }

    @Override