diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index 31000f4c23..7f5a289ae3 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -537,6 +537,9 @@ public class FragmentIdentity extends FragmentBase { } private void setAccount(EntityAccount account) { + if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) + return; + auth = account.auth_type; provider = account.provider; etEmail.setText(account.user);