Skip to content

Commit

Permalink
Don't allow enlarging place holder album art
Browse files Browse the repository at this point in the history
  • Loading branch information
daneren2005 committed Dec 9, 2013
1 parent 50749a5 commit 48b9db9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,10 @@ private View createHeader(List<MusicDirectory.Entry> entries) {
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);
Expand Down

0 comments on commit 48b9db9

Please sign in to comment.