mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
a0a97a69ba
commit
ea877584bb
|
@ -473,6 +473,9 @@ public class FragmentOAuth extends FragmentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onOAuthorized(String accessToken, String idToken, AuthState state) {
|
private void onOAuthorized(String accessToken, String idToken, AuthState state) {
|
||||||
|
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||||
|
return;
|
||||||
|
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putString("id", id);
|
args.putString("id", id);
|
||||||
args.putString("name", name);
|
args.putString("name", name);
|
||||||
|
|
Loading…
Reference in New Issue