mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Small improvement
This commit is contained in:
parent
31fcf01dba
commit
2fd58cb1fa
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ public class ActivitySignature extends ActivityBase {
|
|||
etText.getText().insert(start, "<img src=\"" + Html.escapeHtml(uri.toString()) + "\" />");
|
||||
else {
|
||||
SpannableStringBuilder ssb = new SpannableStringBuilder(etText.getText());
|
||||
ssb.insert(start, " ");
|
||||
ssb.insert(start, "\uFFFC"); // Object replacement character
|
||||
ImageSpan is = new ImageSpan(getDrawableByUri(this, uri), uri.toString(), ImageSpan.ALIGN_BASELINE);
|
||||
ssb.setSpan(is, start, start + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
etText.setText(ssb);
|
||||
|
|
Loading…
Reference in a new issue