Skip to content

Commit 0a3da42

Browse files
committed
Added image spans directly instead of using Html.fromHtml().
This allows for other block actions like linking to still work. I had to limit the image size to 240dp, otherwise the images would load blank white.
1 parent 5b22440 commit 0a3da42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressUtils/src/main/java/org/wordpress/android/util/WPImageGetter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void onResponse(ImageLoader.ImageContainer response, boolean isImmediate)
112112
return remote;
113113
}
114114

115-
private static class RemoteDrawable extends BitmapDrawable {
115+
public static class RemoteDrawable extends BitmapDrawable {
116116
Drawable mRemoteDrawable;
117117
final Drawable mLoadingDrawable;
118118
final Drawable mFailedDrawable;

0 commit comments

Comments
 (0)