diff --git a/app/src/main/java/eu/faircode/email/ActivityError.java b/app/src/main/java/eu/faircode/email/ActivityError.java index e07f3eac13..474df0fbc9 100644 --- a/app/src/main/java/eu/faircode/email/ActivityError.java +++ b/app/src/main/java/eu/faircode/email/ActivityError.java @@ -102,7 +102,9 @@ public class ActivityError extends ActivityBase { tvMessage.setMovementMethod(LinkMovementMethodCompat.getInstance()); 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);