Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The URL of the image should not be null

  • Loading branch information...
commit 83071b5007e6f084ec238d8c006aa93c564883ed 1 parent 6afa0d6
@skarcha authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/com/skarcha/nobrowser/NBImageView.java
View
6 src/com/skarcha/nobrowser/NBImageView.java
@@ -44,7 +44,11 @@ public void onCreate(Bundle savedInstanceState) {
finish();
}
- new getImageTask().execute(dataString);
+ if (dataString == null) {
+ finish();
+ } else {
+ new getImageTask().execute(dataString);
+ }
}
private void showImage (Drawable drawable) {
Please sign in to comment.
Something went wrong with that request. Please try again.