mirror of https://github.com/M66B/FairEmail.git
Reload on authentication type change
This commit is contained in:
parent
4dd6b3524b
commit
a72b99d498
|
@ -827,6 +827,7 @@ public class FragmentAccount extends FragmentBase {
|
|||
String accountRealm = (account == null ? null : account.realm);
|
||||
|
||||
boolean check = (synchronize && (account == null ||
|
||||
auth_type != account.auth_type ||
|
||||
!host.equals(account.host) || Integer.parseInt(port) != account.port ||
|
||||
!user.equals(account.user) || !password.equals(account.password) ||
|
||||
(realm == null ? accountRealm != null : !realm.equals(accountRealm))));
|
||||
|
|
|
@ -569,6 +569,7 @@ public class FragmentIdentity extends FragmentBase {
|
|||
String identityRealm = (identity == null ? null : identity.realm);
|
||||
|
||||
boolean check = (synchronize && (identity == null ||
|
||||
auth_type != identity.auth_type ||
|
||||
!host.equals(identity.host) || Integer.parseInt(port) != identity.port ||
|
||||
!user.equals(identity.user) || !password.equals(identity.password) ||
|
||||
(realm == null ? identityRealm != null : !realm.equals(identityRealm))));
|
||||
|
|
Loading…
Reference in New Issue