mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
493315bd63
commit
96e6e77bdf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue