mirror of https://github.com/M66B/FairEmail.git
Fixed crash
This commit is contained in:
parent
90300a9cbb
commit
816f936fde
|
@ -221,7 +221,7 @@ public class FragmentIdentity extends FragmentEx {
|
||||||
args.putString("email", etEmail.getText().toString());
|
args.putString("email", etEmail.getText().toString());
|
||||||
args.putString("replyto", etReplyTo.getText().toString());
|
args.putString("replyto", etReplyTo.getText().toString());
|
||||||
args.putLong("account", account == null ? -1 : account.id);
|
args.putLong("account", account == null ? -1 : account.id);
|
||||||
args.putInt("auth_type", account == null ? Helper.AUTH_TYPE_PASSWORD : account.auth_type);
|
args.putInt("auth_type", account == null || account.auth_type == null ? Helper.AUTH_TYPE_PASSWORD : account.auth_type);
|
||||||
args.putString("host", etHost.getText().toString());
|
args.putString("host", etHost.getText().toString());
|
||||||
args.putBoolean("starttls", cbStartTls.isChecked());
|
args.putBoolean("starttls", cbStartTls.isChecked());
|
||||||
args.putString("port", etPort.getText().toString());
|
args.putString("port", etPort.getText().toString());
|
||||||
|
|
Loading…
Reference in New Issue