mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 12:54:11 +01:00
Should save enabled account/identity with error
This commit is contained in:
@@ -1035,6 +1035,8 @@ public class FragmentAccount extends FragmentBase {
|
||||
return true;
|
||||
if (!Objects.equals(account.use_received, use_received))
|
||||
return true;
|
||||
if (account.error != null && account.synchronize)
|
||||
return true;
|
||||
|
||||
EntityFolder edrafts = db.folder().getFolderByType(account.id, EntityFolder.DRAFTS);
|
||||
if (!Objects.equals(edrafts == null ? null : edrafts.id, drafts == null ? null : drafts.id))
|
||||
|
||||
@@ -899,6 +899,8 @@ public class FragmentIdentity extends FragmentBase {
|
||||
return true;
|
||||
if (user_max_size != null && !Objects.equals(identity.max_size, user_max_size))
|
||||
return true;
|
||||
if (identity.error != null && identity.synchronize)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user