Skip to content

Commit

Permalink
Merge pull request #353 from SoyDiego/fix-warning-date-picker-input
Browse files Browse the repository at this point in the history
Fix presentationStyle warning
  • Loading branch information
iM-GeeKy committed Nov 10, 2023
2 parents 01b13e6 + da5ea66 commit c67cfe2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Date/DatePickerModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export function DatePickerModal(
default: 'slide',
})

const isTransparent = presentationStyle === 'pageSheet' ? false : true
const isTransparent =
presentationStyle === 'pageSheet' || presentationStyle === 'fullScreen'
? false
: true
const headerBackgroundColor = useHeaderBackgroundColor()
const insets = useSafeAreaInsets()

Expand Down

0 comments on commit c67cfe2

Please sign in to comment.