Fixed text color of broken quotes

This commit is contained in:
M66B 2020-03-07 14:34:42 +01:00
parent 2e41a4e39d
commit 72886db53e
1 changed files with 2 additions and 1 deletions

View File

@ -527,7 +527,8 @@ public class FragmentCompose extends FragmentBase {
}
int color = Helper.resolveColor(getContext(), android.R.attr.textColorPrimary);
ssb.setSpan(new ForegroundColorSpan(color), start, start, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
int flags = (Spanned.SPAN_INCLUSIVE_INCLUSIVE | Spanned.SPAN_COMPOSING);
ssb.setSpan(new ForegroundColorSpan(color), start, start, flags);
etBody.setText(ssb);
etBody.setSelection(start);