Prevent crash

This commit is contained in:
M66B 2021-12-06 21:10:33 +01:00
parent 1963da73ce
commit 0e7724aaac
1 changed files with 3 additions and 0 deletions

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