|
|
@ -319,9 +319,8 @@ public class FragmentAccount extends FragmentBase {
|
|
|
|
etUser.setTag(null);
|
|
|
|
etUser.setTag(null);
|
|
|
|
etUser.setText(null);
|
|
|
|
etUser.setText(null);
|
|
|
|
tilPassword.getEditText().setText(null);
|
|
|
|
tilPassword.getEditText().setText(null);
|
|
|
|
tvAppPassword.setVisibility(
|
|
|
|
tvAppPassword.setVisibility(EntityAccount.isOutlook(provider.id)
|
|
|
|
"office365".equals(provider.id) || "outlook".equals(provider.id)
|
|
|
|
? View.VISIBLE : View.GONE);
|
|
|
|
? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
certificate = null;
|
|
|
|
certificate = null;
|
|
|
|
tvCertificate.setText(R.string.title_optional);
|
|
|
|
tvCertificate.setText(R.string.title_optional);
|
|
|
|
etRealm.setText(null);
|
|
|
|
etRealm.setText(null);
|
|
|
@ -1606,8 +1605,7 @@ public class FragmentAccount extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
|
|
etUser.setText(account == null ? null : account.user);
|
|
|
|
etUser.setText(account == null ? null : account.user);
|
|
|
|
tilPassword.getEditText().setText(account == null ? null : account.password);
|
|
|
|
tilPassword.getEditText().setText(account == null ? null : account.password);
|
|
|
|
tvAppPassword.setVisibility(account != null &&
|
|
|
|
tvAppPassword.setVisibility(account != null && EntityAccount.isOutlook(account.provider)
|
|
|
|
("office365".equals(account.provider) || "outlook".equals(account.provider))
|
|
|
|
|
|
|
|
? View.VISIBLE : View.GONE);
|
|
|
|
? View.VISIBLE : View.GONE);
|
|
|
|
certificate = (account == null ? null : account.certificate_alias);
|
|
|
|
certificate = (account == null ? null : account.certificate_alias);
|
|
|
|
tvCertificate.setText(certificate == null ? getString(R.string.title_optional) : certificate);
|
|
|
|
tvCertificate.setText(certificate == null ? getString(R.string.title_optional) : certificate);
|
|
|
|