Skip to content

Commit

Permalink
Merge pull request #346 from kiwix/invible_getcontent_menu
Browse files Browse the repository at this point in the history
'Get content' menu entry should be masked in custom apps #341
  • Loading branch information
kelson42 authored Jan 17, 2018
2 parents d834f64 + 3b2da78 commit 67d860d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
StyleMenuButtons(menu);
if (BuildConfig.IS_CUSTOM_APP) {
menu.findItem(R.id.menu_help).setVisible(false);
menu.findItem(R.id.menu_openfile).setVisible(false);
}

if (requestInitAllMenuItems) {
Expand Down

0 comments on commit 67d860d

Please sign in to comment.