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>) {
const t = useTheme()
const ref = React.useRef<BottomSheet>(null)
const insets = useSafeAreaInsets()
const closeCallbacks = React.useRef<(() => void)[]>([])
const {setDialogIsOpen} = useDialogStateControlContext()
@@ -110,7 +109,6 @@ export function Outer({
<BottomSheet
ref={ref}
topInset={30}
bottomInset={insets.bottom}
onSnapPointChange={e => {
setSnapPoint(e.nativeEvent.snapPoint)
}}