1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Small improvement

This commit is contained in:
M66B 2020-04-27 10:07:39 +02:00
parent aada937c74
commit 83863d3028

View file

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