File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,13 @@ import { useLatest } from '../utils'
66import type { DatePickerInputProps } from './DatePickerInput.shared'
77import DatePickerInputWithoutModal from './DatePickerInputWithoutModal'
88import { StyleProp , ViewStyle } from 'react-native'
9- import { Platform } from 'react-native'
109
1110function DatePickerInput (
1211 {
1312 withModal = true ,
1413 calendarIcon = 'calendar' ,
1514 animationType = 'slide' ,
16- presentationStyle = Platform . OS === 'ios' ? ' fullScreen' : 'pageSheet ',
15+ presentationStyle = ' fullScreen',
1716 ...rest
1817 } : DatePickerInputProps ,
1918 ref : any
Original file line number Diff line number Diff line change @@ -66,7 +66,10 @@ export function DatePickerModal(
6666 default : 'slide' ,
6767 } )
6868
69- const isTransparent = presentationStyle === 'pageSheet' ? false : true
69+ const isTransparent =
70+ presentationStyle === 'pageSheet' || presentationStyle === 'fullScreen'
71+ ? false
72+ : true
7073 const headerBackgroundColor = useHeaderBackgroundColor ( )
7174 const insets = useSafeAreaInsets ( )
7275
You can’t perform that action at this time.
0 commit comments