Skip to content

Commit

Permalink
Set default display for DateTimePicker as spinner for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanshar committed Apr 22, 2021
1 parent 7882d0d commit 5de41a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/dateTimePicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class DateTimePicker extends Component {
supportedOrientations={['portrait', 'landscape', 'landscape-left', 'landscape-right']} // iOS only
{...dialogProps}
>
<View useSafeArea>
<View /* useSafeArea */>
{this.renderHeader()}
{this.renderDateTimePicker()}
</View>
Expand Down Expand Up @@ -249,7 +249,7 @@ class DateTimePicker extends Component {
is24Hour={is24Hour}
minuteInterval={minuteInterval}
timeZoneOffsetInMinutes={timeZoneOffsetInMinutes}
display={Constants.isIOS ? 'inline' : 'default'}
display={Constants.isIOS ? 'spinner' : undefined}
/>
);
}
Expand Down

0 comments on commit 5de41a5

Please sign in to comment.