mirror of https://github.com/M66B/FairEmail.git
Fixed crash
This commit is contained in:
parent
f596d32deb
commit
895f7128dd
|
@ -375,9 +375,11 @@ public class FragmentIdentity extends FragmentBase {
|
||||||
|
|
||||||
EntityAccount account = (EntityAccount) spAccount.getSelectedItem();
|
EntityAccount account = (EntityAccount) spAccount.getSelectedItem();
|
||||||
etUser.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
etUser.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
||||||
account == null || !provider.imap.host.equals(account.host));
|
account == null ||
|
||||||
|
provider.imap.host == null || !provider.imap.host.equals(account.host));
|
||||||
tilPassword.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
tilPassword.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
||||||
account == null || !provider.imap.host.equals(account.host));
|
account == null ||
|
||||||
|
provider.imap.host == null || !provider.imap.host.equals(account.host));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue