File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/colorPicker Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ class ColorPicker extends PureComponent<Props> {
113
113
iconSource = { Assets . icons . plusSmall }
114
114
onPress = { this . showDialog }
115
115
testID = { `${ testID } -button` }
116
- accessibilityLabel = { accessibilityLabels . addButton }
116
+ accessibilityLabel = { accessibilityLabels ? .addButton }
117
117
/>
118
118
</ View >
119
119
< ColorPickerDialog
@@ -122,9 +122,9 @@ class ColorPicker extends PureComponent<Props> {
122
122
visible = { show }
123
123
onDismiss = { this . hideDialog }
124
124
accessibilityLabels = { {
125
- dismissButton : accessibilityLabels . dismissButton ,
126
- doneButton : accessibilityLabels . doneButton ,
127
- input : accessibilityLabels . input
125
+ dismissButton : accessibilityLabels ? .dismissButton ,
126
+ doneButton : accessibilityLabels ? .doneButton ,
127
+ input : accessibilityLabels ? .input
128
128
} }
129
129
/>
130
130
</ View >
You can’t perform that action at this time.
0 commit comments