mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
555034cbcf
commit
d66074790e
|
@ -1213,7 +1213,7 @@ public class FragmentAccount extends FragmentBase {
|
|||
if (account == null)
|
||||
return null;
|
||||
|
||||
AccountManager am = AccountManager.get(getContext());
|
||||
AccountManager am = AccountManager.get(context);
|
||||
Account[] accounts = am.getAccountsByType("com.google");
|
||||
for (Account google : accounts)
|
||||
if (account.user.equals(google.name))
|
||||
|
|
|
@ -888,7 +888,7 @@ public class FragmentIdentity extends FragmentBase {
|
|||
if (identity == null)
|
||||
return null;
|
||||
|
||||
AccountManager am = AccountManager.get(getContext());
|
||||
AccountManager am = AccountManager.get(context);
|
||||
Account[] accounts = am.getAccountsByType("com.google");
|
||||
for (Account google : accounts)
|
||||
if (identity.user.equals(google.name))
|
||||
|
|
Loading…
Reference in New Issue