]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dialogs/UntrustedSslCertificateDialog.kt
Combine drawable files. https://redmine.stoutner.com/issues/794
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / UntrustedSslCertificateDialog.kt
index e5e97bcf44d73a1049209e0c135ea6bf58093d80..f44710f8e6dd2989d932588fbc102777a287f84e 100644 (file)
@@ -55,8 +55,8 @@ class UntrustedSslCertificateDialog : DialogFragment() {
             // Use a builder to create the alert dialog.
             val dialogBuilder = AlertDialog.Builder(requireContext(), R.style.PrivacyBrowserAlertDialog)
 
-            // Set the icon according to the theme.
-            dialogBuilder.setIconAttribute(R.attr.sslCertificateBlueIcon)
+            // Set the icon.
+            dialogBuilder.setIcon(R.drawable.ssl_certificate_enabled)
 
             // Set the title.
             dialogBuilder.setTitle(R.string.ssl_certificate_error)