This commit is contained in:
2025-09-03 13:46:18 +02:00
parent 5c3f2715c2
commit 2b24900e0c
8 changed files with 240 additions and 7 deletions
+3 -1
View File
@@ -3,8 +3,10 @@ import React from "react";
import ActionSheet from "react-native-actions-sheet";
import { gutters, Palette } from "../styles";
import { BlurView } from "expo-blur";
import { useSafeAreaInsets } from "react-native-safe-area-context";
const AppActionSheet = ({ children, props }) => {
const insets = useSafeAreaInsets();
return (
<ActionSheet
containerStyle={{ backgroundColor: Palette.tran }}
@@ -21,7 +23,7 @@ const AppActionSheet = ({ children, props }) => {
style={{
paddingTop: 36,
paddingHorizontal: 14,
paddingBottom: gutters,
paddingBottom: gutters + (insets?.bottom || 0),
backgroundColor: Palette.glass,
borderTopLeftRadius: 20,
borderTopRightRadius: 20,