Skip to content

Commit

Permalink
fix: make status bar work great in all kind of modes
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLindhout committed Dec 21, 2023
1 parent 17f0c16 commit 3fd10b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions src/Date/DatePickerModalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ export function DatePickerModalContent(

const theme = useTheme()
const defaultUppercase = !theme.isV3
console.log({
defaultUppercase,
uppercase: props.uppercase,
})

return (
<>
<DatePickerModalHeaderBackground>
Expand Down
4 changes: 0 additions & 4 deletions src/Date/DatePickerModalStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ function DatePickerModalStatusBar({
statusBarOnTopOfBackdrop: boolean
}) {
const insets = useSafeAreaInsets()
//
// const disableStatusBarPadding =
// props.presentationStyle === 'pageSheet' ? false : _disableStatusBarPadding

const headerBackgroundColor = useHeaderBackgroundColor()
const onDarkBackground =
Color(headerBackgroundColor).isDark() || statusBarOnTopOfBackdrop
Expand Down

0 comments on commit 3fd10b9

Please sign in to comment.