aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-07-29 17:50:00 -0700
committerScott Jackson <daneren2005@gmail.com>2015-07-29 17:50:00 -0700
commit5d8e6775034a8887bb05619b9793325089d18e47 (patch)
tree305fb5fa3899103f4209307451017803385e90c2 /app
parent40376e95b425fd82b04eba7e1078800dbf40759f (diff)
downloaddsub-5d8e6775034a8887bb05619b9793325089d18e47.tar.gz
dsub-5d8e6775034a8887bb05619b9793325089d18e47.tar.bz2
dsub-5d8e6775034a8887bb05619b9793325089d18e47.zip
Fix image popin
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/ImageLoader.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/ImageLoader.java b/app/src/main/java/github/daneren2005/dsub/util/ImageLoader.java
index 7b3067ba..8b027d70 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/ImageLoader.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/ImageLoader.java
@@ -226,7 +226,7 @@ public class ImageLoader {
}
if (!large) {
- setImage(view, Util.createDrawableFromBitmap(context, null), false);
+ setImage(view, null, false);
}
ImageTask task = new ViewImageTask(view.getContext(), entry, size, imageSizeLarge, large, view, crossfade);
task.execute();
@@ -250,6 +250,7 @@ public class ImageLoader {
setImage(view, drawable, true);
return null;
}
+ setImage(view, null, false);
SilentBackgroundTask<Void> task = new ViewUrlTask(view.getContext(), view, url, size);
task.execute();