Skip to content

Commit

Permalink
Fix Button Ripple on Android Version 21 and higher (#1210)
Browse files Browse the repository at this point in the history
resolves #1209
  • Loading branch information
patsissons authored and iRoachie committed May 19, 2018
1 parent 8e4e14a commit 3e52e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buttons/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Button extends Component {
Platform.OS === 'android' &&
(buttonStyle.borderRadius && !attributes.background)
) {
if (Platform.VERSION >= 21) {
if (Platform.Version >= 21) {
attributes.background = TouchableNativeFeedback.Ripple(
'ThemeAttrAndroid',
true
Expand Down

0 comments on commit 3e52e4b

Please sign in to comment.