]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dialogs/UntrustedSslCertificateDialog.kt
Fix a crash when opening a drawer while restarting. https://redmine.stoutner.com...
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / UntrustedSslCertificateDialog.kt
index aa22fd7c4d0923ffd0ea1e3434cf8afc4d367e3a..beaa2eeaacc87cf01a095b085046da524a15be84 100644 (file)
@@ -53,7 +53,7 @@ class UntrustedSslCertificateDialog : DialogFragment() {
         // Check to see if the app has been restarted.
         if (savedInstanceState == null) {  // The app has not been restarted.
             // Use a builder to create the alert dialog.
-            val dialogBuilder: AlertDialog.Builder = AlertDialog.Builder(requireContext(), R.style.PrivacyBrowserAlertDialog)
+            val dialogBuilder = AlertDialog.Builder(requireContext(), R.style.PrivacyBrowserAlertDialog)
 
             // Set the icon according to the theme.
             dialogBuilder.setIconAttribute(R.attr.sslCertificateBlueIcon)