aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/view/AlbumGridAdapter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/AlbumGridAdapter.java b/src/github/daneren2005/dsub/view/AlbumGridAdapter.java
index 594e513c..3347002c 100644
--- a/src/github/daneren2005/dsub/view/AlbumGridAdapter.java
+++ b/src/github/daneren2005/dsub/view/AlbumGridAdapter.java
@@ -40,6 +40,7 @@ public class AlbumGridAdapter extends ArrayAdapter<MusicDirectory.Entry> {
// Always show artist if they aren't all the same
if(!showArtist) {
+ String artist = null;
for(MusicDirectory.Entry entry: entries) {
if(artist == null) {
artist = entry.getArtist();