mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 16:33:47 +00:00
Disabled OAuth for Play store installs
This commit is contained in:
parent
b6008091fb
commit
d92187560a
1 changed files with 9 additions and 7 deletions
|
@ -169,6 +169,8 @@ 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))
|
||||
for (EmailProvider provider : EmailProvider.loadProfiles(getContext()))
|
||||
if (provider.oauth != null && (provider.oauth.enabled || BuildConfig.DEBUG))
|
||||
popupMenu.getMenu()
|
||||
|
|
Loading…
Reference in a new issue