mirror of https://github.com/M66B/FairEmail.git
Allow OAuth in Play store version
This commit is contained in:
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…
Reference in New Issue