Fixed text color of broken quotes

pull/175/head
M66B 5 years ago
parent 2e41a4e39d
commit 72886db53e

@ -527,7 +527,8 @@ public class FragmentCompose extends FragmentBase {
} }
int color = Helper.resolveColor(getContext(), android.R.attr.textColorPrimary); 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.setText(ssb);
etBody.setSelection(start); etBody.setSelection(start);

Loading…
Cancel
Save