Skip to content

Commit

Permalink
fix: swap CancelButton's themedButtonStyle style order, closes #689
Browse files Browse the repository at this point in the history
… (#712)

BREAKING CHANGE: This is a light breaking change since it might break the UI of folks relying on the previous (wrong) order
  • Loading branch information
ddikodroid committed Jun 27, 2023
1 parent 8b76cff commit 759600e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateTimePickerModal.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export const CancelButton = ({
return (
<TouchableHighlight
testID={cancelButtonTestID}
style={[style.button, themedButtonStyle]}
style={[themedButtonStyle, style.button]}
underlayColor={underlayColor}
onPress={onPress}
accessible={true}
Expand Down

0 comments on commit 759600e

Please sign in to comment.