Skip to content

Commit

Permalink
Fixed flow erros
Browse files Browse the repository at this point in the history
  • Loading branch information
hetanthakkar committed Oct 26, 2021
1 parent 9f323c4 commit bb78149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/Touchable/TouchableOpacity.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class TouchableOpacity extends React.Component<Props, State> {
if (this.props.disabled !== prevProps.disabled) {
this._opacityInactive(250);
}
if (this.props.style?.opacity !== prevProps.style?.opacity) {
if (this.props.style !== prevProps.style) {
this.setState({
anim: new Animated.Value(this._getChildStyleOpacityWithDefault()),
});
Expand Down

0 comments on commit bb78149

Please sign in to comment.