Check on account/identity error

This commit is contained in:
M66B
2019-06-20 18:04:24 +02:00
parent 4efae3cdf6
commit 3d7e4e0d75
2 changed files with 7 additions and 2 deletions

View File

@@ -833,13 +833,16 @@ public class FragmentAccount extends FragmentBase {
if (!Objects.equals(account.swipe_right, right == null ? null : right.id == null ? -1L : right.id))
return true;
if (account.error != null)
return true;
return false;
}
String accountRealm = (account == null ? null : account.realm);
boolean check = (synchronize && (account == null ||
!account.synchronize ||
!account.synchronize || account.error != null ||
!host.equals(account.host) || Integer.parseInt(port) != account.port ||
!user.equals(account.user) || !password.equals(account.password) ||
!Objects.equals(realm, accountRealm) ||