|
|
@ -2501,10 +2501,12 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected void onPreExecute(Bundle args) {
|
|
|
|
protected void onPreExecute(Bundle args) {
|
|
|
|
if (silent) {
|
|
|
|
if (silent) {
|
|
|
|
int textColorHighlight = Helper.resolveColor(getContext(), android.R.attr.textColorHighlight);
|
|
|
|
if (!BuildConfig.PLAY_STORE_RELEASE) {
|
|
|
|
highlightSpan = new BackgroundColorSpan(textColorHighlight);
|
|
|
|
int textColorHighlight = Helper.resolveColor(getContext(), android.R.attr.textColorHighlight);
|
|
|
|
etBody.getText().setSpan(highlightSpan, start, end,
|
|
|
|
highlightSpan = new BackgroundColorSpan(textColorHighlight);
|
|
|
|
Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING);
|
|
|
|
etBody.getText().setSpan(highlightSpan, start, end,
|
|
|
|
|
|
|
|
Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING);
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
toast = ToastEx.makeText(getContext(), R.string.title_suggestions_check, Toast.LENGTH_LONG);
|
|
|
|
toast = ToastEx.makeText(getContext(), R.string.title_suggestions_check, Toast.LENGTH_LONG);
|
|
|
|
toast.show();
|
|
|
|
toast.show();
|
|
|
|