// 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) {