aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/util/ImageLoader.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java
index e8201a33..2df8802d 100644
--- a/src/github/daneren2005/dsub/util/ImageLoader.java
+++ b/src/github/daneren2005/dsub/util/ImageLoader.java
@@ -124,8 +124,6 @@ public class ImageLoader {
return getUnknownImage(key, size, color, null, null);
} else {
- key = getKey(entry.getId() + "unknown", size);
-
String hash;
if(entry.getAlbum() != null) {
hash = entry.getAlbum();
@@ -136,6 +134,7 @@ public class ImageLoader {
}
color = COLORS[Math.abs(hash.hashCode()) % COLORS.length];
+ key = getKey(color + "unknown", size);
return getUnknownImage(key, size, color, entry.getAlbum(), entry.getArtist());
}
}