From 30baddcc742efa9a99ff9286354037ad1f979fa0 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 19 May 2020 16:32:55 +0200 Subject: [PATCH] Allow OAuth in Play store version --- app/src/main/java/eu/faircode/email/FragmentSetup.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index b6153e5505..5a315d7104 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -168,8 +168,7 @@ public class FragmentSetup extends FragmentBase { int order = 1; popupMenu.getMenu().add(Menu.NONE, R.string.title_setup_gmail, order++, R.string.title_setup_gmail); - if (!Helper.isPlayStoreInstall() && - (Helper.hasValidFingerprint(getContext()) || BuildConfig.DEBUG)) + if (Helper.hasValidFingerprint(getContext()) || BuildConfig.DEBUG) for (EmailProvider provider : EmailProvider.loadProfiles(getContext())) if (provider.oauth != null && (provider.oauth.enabled || BuildConfig.DEBUG)) popupMenu.getMenu()