Advanced setup icon in debug version only

pull/147/head
M66B 6 years ago
parent 350d5204ac
commit 3dc68763fd

@ -353,6 +353,7 @@ public class FragmentSetup extends FragmentBase {
@Override
public void onPrepareOptionsMenu(Menu menu) {
PackageManager pm = getContext().getPackageManager();
menu.findItem(R.id.menu_advanced).setVisible(BuildConfig.DEBUG);
menu.findItem(R.id.menu_help).setVisible(getIntentHelp().resolveActivity(pm) != null);
super.onPrepareOptionsMenu(menu);
}

Loading…
Cancel
Save