mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-26 10:53:43 +02:00
Prevent NPE
This commit is contained in:
@@ -365,6 +365,9 @@ public class FragmentOAuth extends FragmentBase {
|
||||
|
||||
private void onAuthorize(boolean graph) {
|
||||
try {
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
|
||||
if (askAccount) {
|
||||
String name = etName.getText().toString().trim();
|
||||
String email = etEmail.getText().toString().trim();
|
||||
|
||||
Reference in New Issue
Block a user