From b30700dd704c49ff5229991a20369ea493e5f163 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 29 Jan 2015 16:57:04 -0800 Subject: Revert key back to being based off of id --- src/github/daneren2005/dsub/util/ImageLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java index af37e145..1cbdc4f7 100644 --- a/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/src/github/daneren2005/dsub/util/ImageLoader.java @@ -123,6 +123,7 @@ 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(); @@ -133,7 +134,6 @@ 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()); } } -- cgit v1.2.3