aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index 9e674466..c112b4c4 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -889,6 +889,10 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
coverArtView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
+ if(albumRep.getCoverArt() == null) {
+ return;
+ }
+
AlertDialog.Builder imageDialog = new AlertDialog.Builder(context);
ImageView fullScreenView = new ImageView(context);
imageLoader.loadImage(fullScreenView, albumRep, true, true);