diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-12 15:34:44 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-12 15:34:44 -0700 |
commit | e0dcbfde8ed0bcc7fefcbdbab240f442713419e0 (patch) | |
tree | 3df61a84d09afbd82f1a2224df076bb1415f9f5e /src | |
parent | 11dd40a7a4aec9d4317aa49636a9cf01e3ad83f3 (diff) | |
download | dsub-e0dcbfde8ed0bcc7fefcbdbab240f442713419e0.tar.gz dsub-e0dcbfde8ed0bcc7fefcbdbab240f442713419e0.tar.bz2 dsub-e0dcbfde8ed0bcc7fefcbdbab240f442713419e0.zip |
Only do child lookup while online
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 f62741ec..1b91b778 100644 --- a/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/src/github/daneren2005/dsub/util/ImageLoader.java @@ -124,7 +124,7 @@ public class ImageLoader { createLargeUnknownImage(view.getContext()); } - if(entry != null && entry.getCoverArt() == null && entry.isDirectory()) { + if(entry != null && entry.getCoverArt() == null && entry.isDirectory() && !Util.isOffline(context)) { // Try to lookup child cover art MusicDirectory.Entry firstChild = FileUtil.lookupChild(context, entry, true); if(firstChild != null) { |