@@ -142,7 +142,6 @@ private static void buildSpannableFromFragment(
142
142
} else if (end >= start ) {
143
143
if (textAttributes .mIsAccessibilityLink ) {
144
144
ops .add (new SetSpanOperation (start , end , new ReactClickableSpan (reactTag )));
145
- // add here the span
146
145
}
147
146
if (textAttributes .mIsColorSet ) {
148
147
ops .add (
@@ -152,19 +151,12 @@ private static void buildSpannableFromFragment(
152
151
if (textAttributes .mIsAccessibilityUnit ) {
153
152
if (Build .VERSION .SDK_INT > 21 ) {
154
153
ops .add (new SetSpanOperation (start , end , new ReactTtsSpan .Builder ("verbatim" ).build ()));
155
- /*
156
- ops.add(
157
- new SetSpanOperation(
158
- start, end, new ReactTtsSpan.Builder(ReactTtsSpan.TYPE_VERBATIM).build()));
159
- */
160
154
}
161
155
}
162
156
if (textAttributes .mIsBackgroundColorSet ) {
163
- /*
164
157
ops .add (
165
158
new SetSpanOperation (
166
159
start , end , new ReactBackgroundColorSpan (textAttributes .mBackgroundColor )));
167
- */
168
160
}
169
161
if (!Float .isNaN (textAttributes .getLetterSpacing ())) {
170
162
ops .add (
@@ -587,7 +579,6 @@ public static WritableArray measureLines(
587
579
// TODO T31905686: This class should be private
588
580
public static class SetSpanOperation {
589
581
protected int start , end ;
590
- public ReactSpan what ;
591
582
592
583
public SetSpanOperation (int start , int end , ReactSpan what ) {
593
584
this .start = start ;
0 commit comments