mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
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.
This commit is contained in:
parent
7a5095a6aa
commit
7bcecf7060
@ -1347,7 +1347,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
||||
|
||||
@Override
|
||||
public void updateMenu() {
|
||||
configureMenu(mMenu);
|
||||
invalidateOptionsMenu();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user