File tree Expand file tree Collapse file tree 1 file changed +20
-15
lines changed
Expand file tree Collapse file tree 1 file changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -116,21 +116,26 @@ const Widget = ({
116116 </ BodyM >
117117 ) }
118118
119- < TouchableOpacity
120- style = { styles . item }
121- activeOpacity = { 0.6 }
122- testID = "WidgetEdit"
123- onPress = { onEdit } >
124- < View style = { styles . columnLeft } >
125- < BodyM color = "white" > { t ( 'widget_edit' ) } </ BodyM >
126- </ View >
127- < View style = { styles . columnRight } >
128- < BodyM style = { styles . valueText } testID = "Value" >
129- { hasEdited ? t ( 'widget_edit_custom' ) : t ( 'widget_edit_default' ) }
130- </ BodyM >
131- < ChevronRight color = "white50" width = { 24 } height = { 24 } />
132- </ View >
133- </ TouchableOpacity >
119+ { ( config . type === SUPPORTED_FEED_TYPES . PRICE_FEED ||
120+ config . type === SUPPORTED_FEED_TYPES . BLOCKS_FEED ) && (
121+ < TouchableOpacity
122+ style = { styles . item }
123+ activeOpacity = { 0.6 }
124+ testID = "WidgetEdit"
125+ onPress = { onEdit } >
126+ < View style = { styles . columnLeft } >
127+ < BodyM color = "white" > { t ( 'widget_edit' ) } </ BodyM >
128+ </ View >
129+ < View style = { styles . columnRight } >
130+ < BodyM style = { styles . valueText } testID = "Value" >
131+ { hasEdited
132+ ? t ( 'widget_edit_custom' )
133+ : t ( 'widget_edit_default' ) }
134+ </ BodyM >
135+ < ChevronRight color = "white50" width = { 24 } height = { 24 } />
136+ </ View >
137+ </ TouchableOpacity >
138+ ) }
134139
135140 < View style = { styles . footer } >
136141 < Caption13Up style = { styles . caption } color = "white50" >
You can’t perform that action at this time.
0 commit comments