mirror of https://github.com/M66B/FairEmail.git
Removed reload from save identity
This commit is contained in:
parent
35e24c590e
commit
f014d820da
|
@ -624,7 +624,6 @@ public class FragmentIdentity extends FragmentBase {
|
||||||
!user.equals(identity.user) || !password.equals(identity.password) ||
|
!user.equals(identity.user) || !password.equals(identity.password) ||
|
||||||
!Objects.equals(realm, identityRealm) ||
|
!Objects.equals(realm, identityRealm) ||
|
||||||
use_ip != identity.use_ip));
|
use_ip != identity.use_ip));
|
||||||
boolean reload = (identity == null || identity.synchronize != synchronize || check);
|
|
||||||
|
|
||||||
Long last_connected = null;
|
Long last_connected = null;
|
||||||
if (identity != null && synchronize == identity.synchronize)
|
if (identity != null && synchronize == identity.synchronize)
|
||||||
|
@ -719,9 +718,6 @@ public class FragmentIdentity extends FragmentBase {
|
||||||
db.endTransaction();
|
db.endTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reload)
|
|
||||||
ServiceSynchronize.reload(context, "save identity");
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue