Allow OAuth in Play store version

This commit is contained in:
M66B 2020-05-19 16:32:55 +02:00
parent 4727117052
commit 30baddcc74
1 changed files with 1 additions and 2 deletions

View File

@ -168,8 +168,7 @@ public class FragmentSetup extends FragmentBase {
int order = 1; int order = 1;
popupMenu.getMenu().add(Menu.NONE, R.string.title_setup_gmail, order++, R.string.title_setup_gmail); popupMenu.getMenu().add(Menu.NONE, R.string.title_setup_gmail, order++, R.string.title_setup_gmail);
if (!Helper.isPlayStoreInstall() && if (Helper.hasValidFingerprint(getContext()) || BuildConfig.DEBUG)
(Helper.hasValidFingerprint(getContext()) || BuildConfig.DEBUG))
for (EmailProvider provider : EmailProvider.loadProfiles(getContext())) for (EmailProvider provider : EmailProvider.loadProfiles(getContext()))
if (provider.oauth != null && (provider.oauth.enabled || BuildConfig.DEBUG)) if (provider.oauth != null && (provider.oauth.enabled || BuildConfig.DEBUG))
popupMenu.getMenu() popupMenu.getMenu()