mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Fixed crash
This commit is contained in:
parent
78f8e3a445
commit
ccdc26f91a
1 changed files with 1 additions and 1 deletions
|
@ -1041,7 +1041,7 @@ public class FragmentIdentity extends FragmentBase {
|
|||
tilPassword.setEnabled(false);
|
||||
}
|
||||
|
||||
if (identity == null && identity.auth_type != MailService.AUTH_TYPE_GMAIL)
|
||||
if (identity == null || identity.auth_type != MailService.AUTH_TYPE_GMAIL)
|
||||
Helper.hide(btnOAuth);
|
||||
|
||||
cbPrimary.setEnabled(cbSynchronize.isChecked());
|
||||
|
|
Loading…
Reference in a new issue