Small improvement

pull/178/head
M66B 5 years ago
parent aada937c74
commit 83863d3028

@ -2637,7 +2637,7 @@ public class FragmentCompose extends FragmentBase {
Spanned spanned = HtmlHelper.fromHtml(text, new Html.ImageGetter() { Spanned spanned = HtmlHelper.fromHtml(text, new Html.ImageGetter() {
@Override @Override
public Drawable getDrawable(String source) { public Drawable getDrawable(String source) {
return ImageHelper.decodeImage(getContext(), working, source, true, 0, etBody); return ImageHelper.decodeImage(getContext(), working, source, true, zoom, etBody);
} }
}, null); }, null);
etBody.getText().insert(etBody.getSelectionStart(), spanned); etBody.getText().insert(etBody.getSelectionStart(), spanned);

Loading…
Cancel
Save