Set toggleJavaScript MenuItem as showAsAction="always". Update AboutDialog to close...
[PrivacyBrowser.git] / app / src / main / java / com / stoutner / privacybrowser / CreateHomeScreenShortcut.java
index 9057433ef4fdd6c5de507ab9e7bbcf06e054cc78..0d437e2844ee9e07d668773127c40f680dcef424 100644 (file)
@@ -60,7 +60,7 @@ public class CreateHomeScreenShortcut extends AppCompatDialogFragment {
     @NonNull
     public Dialog onCreateDialog(Bundle savedInstanceState) {
         // Create a drawable version of the favorite icon.
-        Drawable favoriteIconDrawable = new BitmapDrawable(getResources(), Webview.favoriteIcon);
+        Drawable favoriteIconDrawable = new BitmapDrawable(getResources(), MainWebView.favoriteIcon);
 
         // Use AlertDialog.Builder to create the AlertDialog
         AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(getActivity());