Skip to content

Commit

Permalink
fix: android button labels not working (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak authored Aug 20, 2022
1 parent a587a49 commit b7e1a0c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/DateTimePickerAndroid.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ function open(props: AndroidNativeProps) {
is24Hour,
minimumDate,
maximumDate,
neutralButtonLabel,
minuteInterval,
timeZoneOffsetInMinutes,
onChange,
onError,
neutralButtonLabel,
positiveButtonLabel,
negativeButtonLabel,
} = props;
validateAndroidProps(props);
invariant(originalValue, 'A date or time must be specified as `value` prop.');
Expand All @@ -53,9 +55,11 @@ function open(props: AndroidNativeProps) {
is24Hour,
minimumDate,
maximumDate,
neutralButtonLabel,
minuteInterval,
timeZoneOffsetInMinutes,
neutralButtonLabel,
positiveButtonLabel,
negativeButtonLabel,
});

switch (action) {
Expand Down

0 comments on commit b7e1a0c

Please sign in to comment.