mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
1963da73ce
commit
0e7724aaac
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue