From f014d820da15b81891ef53c209ca8750e6931aa1 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 13 Jun 2019 12:48:30 +0200 Subject: [PATCH] Removed reload from save identity --- app/src/main/java/eu/faircode/email/FragmentIdentity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index 38839c3fdb..46edfc3898 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -624,7 +624,6 @@ public class FragmentIdentity extends FragmentBase { !user.equals(identity.user) || !password.equals(identity.password) || !Objects.equals(realm, identityRealm) || use_ip != identity.use_ip)); - boolean reload = (identity == null || identity.synchronize != synchronize || check); Long last_connected = null; if (identity != null && synchronize == identity.synchronize) @@ -719,9 +718,6 @@ public class FragmentIdentity extends FragmentBase { db.endTransaction(); } - if (reload) - ServiceSynchronize.reload(context, "save identity"); - return null; }