mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Moved DANE option back
This commit is contained in:
@@ -102,6 +102,7 @@ public class FragmentIdentity extends FragmentBase {
|
||||
private RadioGroup rgEncryption;
|
||||
private CheckBox cbInsecure;
|
||||
private TextView tvInsecureRemark;
|
||||
private CheckBox cbDane;
|
||||
private EditText etPort;
|
||||
private EditText etUser;
|
||||
private TextInputLayout tilPassword;
|
||||
@@ -136,7 +137,6 @@ public class FragmentIdentity extends FragmentBase {
|
||||
private CheckBox cbUnicode;
|
||||
private CheckBox cbOctetMime;
|
||||
private EditText etMaxSize;
|
||||
private CheckBox cbDane;
|
||||
|
||||
private Button btnSave;
|
||||
private ContentLoadingProgressBar pbSave;
|
||||
@@ -210,6 +210,7 @@ public class FragmentIdentity extends FragmentBase {
|
||||
rgEncryption = view.findViewById(R.id.rgEncryption);
|
||||
cbInsecure = view.findViewById(R.id.cbInsecure);
|
||||
tvInsecureRemark = view.findViewById(R.id.tvInsecureRemark);
|
||||
cbDane = view.findViewById(R.id.cbDane);
|
||||
etPort = view.findViewById(R.id.etPort);
|
||||
etUser = view.findViewById(R.id.etUser);
|
||||
tilPassword = view.findViewById(R.id.tilPassword);
|
||||
@@ -244,7 +245,6 @@ public class FragmentIdentity extends FragmentBase {
|
||||
cbUnicode = view.findViewById(R.id.cbUnicode);
|
||||
cbOctetMime = view.findViewById(R.id.cbOctetMime);
|
||||
etMaxSize = view.findViewById(R.id.etMaxSize);
|
||||
cbDane = view.findViewById(R.id.cbDane);
|
||||
|
||||
btnSave = view.findViewById(R.id.btnSave);
|
||||
pbSave = view.findViewById(R.id.pbSave);
|
||||
@@ -1291,6 +1291,8 @@ public class FragmentIdentity extends FragmentBase {
|
||||
rgEncryption.check(R.id.radio_ssl);
|
||||
|
||||
cbInsecure.setChecked(identity == null ? false : identity.insecure);
|
||||
cbDane.setChecked(identity == null ? false : identity.dane);
|
||||
cbDane.setEnabled(!cbInsecure.isChecked());
|
||||
etPort.setText(identity == null ? null : Long.toString(identity.port));
|
||||
etUser.setText(identity == null ? null : identity.user);
|
||||
tilPassword.getEditText().setText(identity == null ? null : identity.password);
|
||||
@@ -1331,8 +1333,6 @@ public class FragmentIdentity extends FragmentBase {
|
||||
cbEncryptDefault.setChecked(identity != null && identity.encrypt_default);
|
||||
cbUnicode.setChecked(identity != null && identity.unicode);
|
||||
cbOctetMime.setChecked(identity != null && identity.octetmime);
|
||||
cbDane.setChecked(identity == null ? false : identity.dane);
|
||||
cbDane.setEnabled(!cbInsecure.isChecked());
|
||||
|
||||
auth = (identity == null ? AUTH_TYPE_PASSWORD : identity.auth_type);
|
||||
provider = (identity == null ? null : identity.provider);
|
||||
|
||||
Reference in New Issue
Block a user