File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,12 @@ export default class ActionButton extends Component {
188
188
: { paddingHorizontal : this . props . offsetX , zIndex : this . props . zIndex } ;
189
189
190
190
return (
191
- < View style = { parentStyle } >
191
+ < View style = { [
192
+ parentStyle ,
193
+ ! this . props . hideShadow && shadowStyle ,
194
+ ! this . props . hideShadow && this . props . shadowStyle
195
+ ] }
196
+ >
192
197
< Touchable
193
198
background = { touchableBackground (
194
199
this . props . nativeFeedbackRippleColor ,
@@ -204,11 +209,7 @@ export default class ActionButton extends Component {
204
209
onPressOut = { this . props . onPressOut }
205
210
>
206
211
< Animated . View
207
- style = { [
208
- wrapperStyle ,
209
- ! this . props . hideShadow && shadowStyle ,
210
- ! this . props . hideShadow && this . props . shadowStyle
211
- ] }
212
+ style = { wrapperStyle }
212
213
>
213
214
< Animated . View style = { [ buttonStyle , animatedViewStyle ] } >
214
215
{ this . _renderButtonIcon ( ) }
You can’t perform that action at this time.
0 commit comments