mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Fixed crash
This commit is contained in:
parent
f596d32deb
commit
895f7128dd
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue