]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dialogs/ProxyNotInstalledDialog.kt
Combine drawable files. https://redmine.stoutner.com/issues/794
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / ProxyNotInstalledDialog.kt
index f2f2b25ca3574b2f67a223a1d500c7bcaaa2f480..568adbc46872dba4c80cded48e642160851248b0 100644 (file)
@@ -62,8 +62,8 @@ class ProxyNotInstalledDialog : 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.proxyBlueIcon)
+        // Set the icon.
+        dialogBuilder.setIcon(R.drawable.proxy_enabled)
 
         // Set the title and the message according to the proxy mode.
         when (proxyMode) {