mirror of https://github.com/M66B/FairEmail.git
One space before image only
This commit is contained in:
parent
1ad015c5a6
commit
ead53082b8
|
@ -1914,11 +1914,11 @@ public class FragmentCompose extends FragmentBase {
|
||||||
throw new IllegalArgumentException(context.getString(R.string.title_no_image));
|
throw new IllegalArgumentException(context.getString(R.string.title_no_image));
|
||||||
d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
|
d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
|
||||||
|
|
||||||
s.insert(start, " \uFFFC "); // Object replacement character
|
s.insert(start, " \uFFFC"); // Object replacement character
|
||||||
ImageSpan is = new ImageSpan(context, cid);
|
ImageSpan is = new ImageSpan(context, cid);
|
||||||
s.setSpan(is, start + 1, start + 2, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
s.setSpan(is, start + 1, start + 2, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||||
|
|
||||||
start += 3;
|
start += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!image)
|
if (!image)
|
||||||
|
|
Loading…
Reference in New Issue