Skip to content

Commit

Permalink
Merge pull request #199 from pansy-cx/fix/TouchableNativeFeedback
Browse files Browse the repository at this point in the history
fix: undefined is not a function in android
  • Loading branch information
ptomasroos authored Jul 3, 2020
2 parents 2efb25f + 735d33b commit 5004fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class Tab extends React.Component {
testID={this.props.testID}
accessible={this.props.accessible}
accessibilityLabel={this.props.accessibilityLabel}
background={TouchableNativeFeedback.Ripple(undefined, true)}
background={TouchableNativeFeedback.Ripple && TouchableNativeFeedback.Ripple(undefined, true)}
onPress={this._handlePress}>
<View style={tabStyle}>
<View>
Expand Down

0 comments on commit 5004fa9

Please sign in to comment.