1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Fixed crash

This commit is contained in:
M66B 2020-01-05 11:13:04 +01:00
parent f596d32deb
commit 895f7128dd

View file

@ -375,9 +375,11 @@ public class FragmentIdentity extends FragmentBase {
EntityAccount account = (EntityAccount) spAccount.getSelectedItem();
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 ||
account == null || !provider.imap.host.equals(account.host));
account == null ||
provider.imap.host == null || !provider.imap.host.equals(account.host));
}
@Override