Small improvement

pull/214/head
M66B 12 months ago
parent c4c9e3b4c7
commit 26f200ad74

@ -102,7 +102,9 @@ public class ActivityError extends ActivityBase {
tvMessage.setMovementMethod(LinkMovementMethodCompat.getInstance()); tvMessage.setMovementMethod(LinkMovementMethodCompat.getInstance());
tvMessage.setText(message); tvMessage.setText(message);
tvCertificate.setVisibility(isCertificateException ? View.VISIBLE : View.GONE); tvCertificate.setVisibility(
isCertificateException && !SSLHelper.customTrustManager()
? View.VISIBLE : View.GONE);
boolean password = (auth_type == ServiceAuthenticator.AUTH_TYPE_PASSWORD); boolean password = (auth_type == ServiceAuthenticator.AUTH_TYPE_PASSWORD);

Loading…
Cancel
Save