From 3dc68763fd0a8a574a81fad43fbdbf64140be0e0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 9 Feb 2019 08:47:36 +0000 Subject: [PATCH] Advanced setup icon in debug version only --- app/src/main/java/eu/faircode/email/FragmentSetup.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index 467774b25f..6b236503a9 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -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); }