Check on changing insecure

This commit is contained in:
M66B
2019-06-21 20:33:50 +02:00
parent 03ff3d068a
commit 8c2132fc56
2 changed files with 6 additions and 4 deletions

View File

@@ -842,11 +842,12 @@ public class FragmentAccount extends FragmentBase {
String accountRealm = (account == null ? null : account.realm);
boolean check = (synchronize && (account == null ||
!account.synchronize || account.error != null ||
!account.synchronize ||
account.insecure != insecure ||
!host.equals(account.host) || Integer.parseInt(port) != account.port ||
!user.equals(account.user) || !password.equals(account.password) ||
!Objects.equals(realm, accountRealm) ||
!TextUtils.isEmpty(account.error)));
account.error != null));
boolean reload = (check || account == null ||
account.synchronize != synchronize ||
account.notify != notify ||