diff --git a/src/Date/DatePickerModal.tsx b/src/Date/DatePickerModal.tsx index fe0b6f00..4304b03d 100644 --- a/src/Date/DatePickerModal.tsx +++ b/src/Date/DatePickerModal.tsx @@ -14,8 +14,8 @@ import DatePickerModalContent, { DatePickerModalContentRangeProps, DatePickerModalContentSingleProps, } from './DatePickerModalContent' -import { useHeaderBackgroundColor, useHeaderColorIsLight } from '../utils' import { useSafeAreaInsets } from 'react-native-safe-area-context' +import { useHeaderBackgroundColor } from '../utils' interface DatePickerModalProps { visible: boolean @@ -66,10 +66,10 @@ export function DatePickerModal( default: 'slide', }) - const isLight = useHeaderColorIsLight() + const isTransparent = presentationStyle === 'pageSheet' ? false : true const headerBackgroundColor = useHeaderBackgroundColor() const insets = useSafeAreaInsets() - const isTransparent = presentationStyle === 'pageSheet' ? false : true + return ( 650 ? styles.modalContentBig : null, ]} > - {disableStatusBar ? null : ( - - )} {disableStatusBarPadding ? null : (