Skip to content

Commit

Permalink
Merge pull request #1 from Kinnonii/Kinnonii-patch-1
Browse files Browse the repository at this point in the history
Menu is not cleared when opening Drawer.
  • Loading branch information
pedroadame committed May 19, 2015
2 parents ea0ef71 + 20017ca commit 5f5b7e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
public boolean onPrepareOptionsMenu(Menu menu) {

if(layout.isDrawerOpen(drawer) && !deviceSupportMultiPane()) {
menu.clear();

}

return super.onPrepareOptionsMenu(menu);
Expand Down

0 comments on commit 5f5b7e8

Please sign in to comment.