remove bottom inset

This commit is contained in:
Samuel Newman
2024-10-03 11:15:10 +03:00
parent 62136aa215
commit 2115b11dca
-2
View File
@@ -40,7 +40,6 @@ export function Outer({
}: React.PropsWithChildren<DialogOuterProps>) { }: React.PropsWithChildren<DialogOuterProps>) {
const t = useTheme() const t = useTheme()
const ref = React.useRef<BottomSheet>(null) const ref = React.useRef<BottomSheet>(null)
const insets = useSafeAreaInsets()
const closeCallbacks = React.useRef<(() => void)[]>([]) const closeCallbacks = React.useRef<(() => void)[]>([])
const {setDialogIsOpen} = useDialogStateControlContext() const {setDialogIsOpen} = useDialogStateControlContext()
@@ -110,7 +109,6 @@ export function Outer({
<BottomSheet <BottomSheet
ref={ref} ref={ref}
topInset={30} topInset={30}
bottomInset={insets.bottom}
onSnapPointChange={e => { onSnapPointChange={e => {
setSnapPoint(e.nativeEvent.snapPoint) setSnapPoint(e.nativeEvent.snapPoint)
}} }}