1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Prevent crash

This commit is contained in:
M66B 2021-12-06 21:10:33 +01:00
parent 1963da73ce
commit 0e7724aaac

View file

@ -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);