mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Simplification
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user