diff --git a/src/components/backgrounds/BackgroundDefault.tsx b/src/components/backgrounds/BackgroundDefault.tsx index bb46f75..f12b71c 100644 --- a/src/components/backgrounds/BackgroundDefault.tsx +++ b/src/components/backgrounds/BackgroundDefault.tsx @@ -1,18 +1,17 @@ -import { containers, images } from "@styles/Commons"; -import { ImageBackground, View } from "react-native"; +import SafeAreaViewTopLeftRightFull from "@components/containers/SafeAreaViewTopLeftRightFull"; +import { images } from "@styles/Commons"; +import { ImageBackground } from "react-native"; type Props = { children: React.ReactNode }; const BackgroundDefault = ({ children }: Props) => { return ( - - - {children} - - + + {children} + ); }; diff --git a/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx b/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx index c19ba7f..38064de 100644 --- a/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx +++ b/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx @@ -1,32 +1,25 @@ import BeasyLogoIcon from "@components/BeasyLogoIcon"; import WrapperTopEdgeCurved from "@components/WrapperTopEdgeCurved"; import Box from "@components/bases/Box"; +import SafeAreaViewTopLeftRightFull from "@components/containers/SafeAreaViewTopLeftRightFull"; import type { ReactElement } from "react"; -import { SafeAreaView } from "react-native-safe-area-context"; import BackgroundDefault from "./BackgroundDefault"; const BackgroundWithBeasyIconAndWhiteContentArea = ({ children }: { children?: ReactElement }) => { return ( - + - - - - {children} + - + {children} + ); }; diff --git a/src/screens/PaymentAmountInputScreen.tsx b/src/screens/PaymentAmountInputScreen.tsx index 6e6664f..8dabf19 100644 --- a/src/screens/PaymentAmountInputScreen.tsx +++ b/src/screens/PaymentAmountInputScreen.tsx @@ -82,7 +82,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI style={{ height: "100%", width: "100%", - marginTop: insets.top, + // marginTop: insets.top, }} >