1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Allow OAuth in Play store version

This commit is contained in:
M66B 2020-05-19 16:32:55 +02:00
parent 4727117052
commit 30baddcc74

View file

@ -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()