Simplification

This commit is contained in:
M66B 2020-06-23 09:29:50 +02:00
parent 493315bd63
commit 96e6e77bdf
1 changed files with 3 additions and 3 deletions

View File

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