mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Prevent crash
This commit is contained in:
parent
1963da73ce
commit
0e7724aaac
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue