1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 07:23:03 +00:00

Better safe than sorry

This commit is contained in:
M66B 2020-05-20 17:35:19 +02:00
parent ba60be2857
commit 18f028f131

View file

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