From 701725245aab9017aca6a3a162b7218579ce5b57 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Feb 2020 19:22:01 +0100 Subject: [PATCH] An error is not a reason for save changes --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 3 --- app/src/main/java/eu/faircode/email/FragmentIdentity.java | 2 -- 2 files changed, 5 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index 2f16a508b0..8c1702294b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -958,9 +958,6 @@ public class FragmentAccount extends FragmentBase { if (!Objects.equals(account.move_to, move == null ? null : move.id)) return true; - if (account.error != null) - return true; - return false; } diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index ac06263cf8..38e88281e6 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -750,8 +750,6 @@ public class FragmentIdentity extends FragmentBase { return true; if (!Objects.equals(identity.bcc, bcc)) return true; - if (identity.error != null) - return true; return false; }