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 {
188188 : { paddingHorizontal : this . props . offsetX , zIndex : this . props . zIndex } ;
189189
190190 return (
191- < View style = { parentStyle } >
191+ < View style = { [
192+ parentStyle ,
193+ ! this . props . hideShadow && shadowStyle ,
194+ ! this . props . hideShadow && this . props . shadowStyle
195+ ] }
196+ >
192197 < Touchable
193198 background = { touchableBackground (
194199 this . props . nativeFeedbackRippleColor ,
@@ -204,11 +209,7 @@ export default class ActionButton extends Component {
204209 onPressOut = { this . props . onPressOut }
205210 >
206211 < Animated . View
207- style = { [
208- wrapperStyle ,
209- ! this . props . hideShadow && shadowStyle ,
210- ! this . props . hideShadow && this . props . shadowStyle
211- ] }
212+ style = { wrapperStyle }
212213 >
213214 < Animated . View style = { [ buttonStyle , animatedViewStyle ] } >
214215 { this . _renderButtonIcon ( ) }
You can’t perform that action at this time.
0 commit comments