mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Prevent crash
This commit is contained in:
parent
a0a97a69ba
commit
ea877584bb
1 changed files with 3 additions and 0 deletions
|
@ -473,6 +473,9 @@ public class FragmentOAuth extends FragmentBase {
|
|||
}
|
||||
|
||||
private void onOAuthorized(String accessToken, String idToken, AuthState state) {
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putString("id", id);
|
||||
args.putString("name", name);
|
||||
|
|
Loading…
Reference in a new issue