X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fdialogs%2FDownloadImageDialog.java;h=eb45dd1bc8e3313e373df3c19a805b896fc6bcf4;hp=6251e5e2732fca01bf69509d9f235aa760ba2395;hb=e923db59fff5ad31f08679c84678cdfb1ca87d63;hpb=8f1c15606ef8cd277f51cc837c2c39667c48d0d4 diff --git a/app/src/main/java/com/stoutner/privacybrowser/dialogs/DownloadImageDialog.java b/app/src/main/java/com/stoutner/privacybrowser/dialogs/DownloadImageDialog.java index 6251e5e2..eb45dd1b 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/dialogs/DownloadImageDialog.java +++ b/app/src/main/java/com/stoutner/privacybrowser/dialogs/DownloadImageDialog.java @@ -137,7 +137,6 @@ public class DownloadImageDialog extends AppCompatDialogFragment { // Set the text for `downloadImageNameTextView`. EditText downloadImageNameTextView = (EditText) alertDialog.findViewById(R.id.download_image_name); - assert downloadImageNameTextView != null; // Remove the warning on the following line that `downloadImageNameTextView` might be `null`. downloadImageNameTextView.setText(imageFileName); // Allow the `enter` key on the keyboard to save the file from `downloadImageNameTextView`.