File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
ReactAndroid/src/main/java/com/facebook/react/uimanager Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11
11
import android .view .ViewParent ;
12
12
import androidx .core .view .ViewCompat ;
13
13
14
+ import java .util .ArrayList ;
14
15
import java .util .HashMap ;
15
16
16
17
import com .facebook .react .R ;
@@ -187,7 +188,7 @@ private void updateViewContentDescription(@Nonnull T view) {
187
188
} else if (state .equals (STATE_BUSY ) && value .getType () == ReadableType .Boolean && value .asBoolean ()) {
188
189
components .add (view .getContext ().getString (R .string .state_busy_description ));
189
190
} else if (state .equals (STATE_EXPANDED ) && value .getType () == ReadableType .Boolean ) {
190
- components .add (view .getContext ().getString (val .asBoolean () ? R .string .state_expanded_description : R .string .state_collapsed_description ));
191
+ components .add (view .getContext ().getString (value .asBoolean () ? R .string .state_expanded_description : R .string .state_collapsed_description ));
191
192
}
192
193
}
193
194
}
You can’t perform that action at this time.
0 commit comments