Skip to content

Commit 5de41a5

Browse files
committed
Set default display for DateTimePicker as spinner for iOS
1 parent 7882d0d commit 5de41a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/dateTimePicker/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class DateTimePicker extends Component {
205205
supportedOrientations={['portrait', 'landscape', 'landscape-left', 'landscape-right']} // iOS only
206206
{...dialogProps}
207207
>
208-
<View useSafeArea>
208+
<View /* useSafeArea */>
209209
{this.renderHeader()}
210210
{this.renderDateTimePicker()}
211211
</View>
@@ -249,7 +249,7 @@ class DateTimePicker extends Component {
249249
is24Hour={is24Hour}
250250
minuteInterval={minuteInterval}
251251
timeZoneOffsetInMinutes={timeZoneOffsetInMinutes}
252-
display={Constants.isIOS ? 'inline' : 'default'}
252+
display={Constants.isIOS ? 'spinner' : undefined}
253253
/>
254254
);
255255
}

0 commit comments

Comments
 (0)