Allow OAuth in Play store version

pull/178/head
M66B 5 years ago
parent 4727117052
commit 30baddcc74

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

Loading…
Cancel
Save