mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Better safe than sorry
This commit is contained in:
parent
ba60be2857
commit
18f028f131
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ public class FragmentGmail extends FragmentBase {
|
|||
AccountManager am = AccountManager.get(getContext());
|
||||
Account[] accounts = am.getAccountsByType(type);
|
||||
for (final Account account : accounts)
|
||||
if (name.equals(account.name)) {
|
||||
if (name.equalsIgnoreCase(account.name)) {
|
||||
found = true;
|
||||
Log.i("Requesting token name=" + account.name);
|
||||
am.getAuthToken(
|
||||
|
|
Loading…
Reference in a new issue