From 13c744e74e525e3ed8893167e4a3531b91bc21e0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 11 Apr 2021 09:17:44 +0200 Subject: [PATCH] Debugging --- app/src/main/java/eu/faircode/email/FragmentSetup.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index 58ab8f3e2b..38809d9a06 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -183,7 +183,8 @@ public class FragmentSetup extends FragmentBase { popupMenu.getMenu().add(Menu.NONE, R.string.title_setup_outlook, order++, R.string.title_setup_outlook); for (EmailProvider provider : EmailProvider.loadProfiles(getContext())) - if (provider.oauth != null && provider.oauth.enabled) + if (provider.oauth != null && + (provider.oauth.enabled || BuildConfig.DEBUG)) popupMenu.getMenu() .add(Menu.NONE, -1, order++, getString(R.string.title_setup_oauth, provider.name)) .setIntent(new Intent(ActivitySetup.ACTION_QUICK_OAUTH)