diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-01-29 16:57:04 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-01-29 16:57:04 -0800 |
commit | b30700dd704c49ff5229991a20369ea493e5f163 (patch) | |
tree | 2015ab5027586a150a4d7bed2783237c6e0c4dab /src | |
parent | 35a7ef766ea4aeed4bfe0251af3917103b12eebd (diff) | |
download | dsub-b30700dd704c49ff5229991a20369ea493e5f163.tar.gz dsub-b30700dd704c49ff5229991a20369ea493e5f163.tar.bz2 dsub-b30700dd704c49ff5229991a20369ea493e5f163.zip |
Revert key back to being based off of id
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/util/ImageLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } } |