Commit 1c8d78b3 by G

renamed the component

parent f1cf55c1
...@@ -4,7 +4,7 @@ import WrapperTopEdgeCurved from "@components/WrapperTopEdgeCurved"; ...@@ -4,7 +4,7 @@ import WrapperTopEdgeCurved from "@components/WrapperTopEdgeCurved";
import Box from "@components/bases/Box"; import Box from "@components/bases/Box";
import { useNavigation } from "@react-navigation/native"; import { useNavigation } from "@react-navigation/native";
import type { ReactElement } from "react"; import type { ReactElement } from "react";
import BackgroundDefault from "./BackgroundDefault"; import BackgroundDefault from "./BeasyDefaultBackgroundWrapper";
const BackgroundWithBeasyIconAndWhiteContentArea = ({ const BackgroundWithBeasyIconAndWhiteContentArea = ({
children, children,
......
...@@ -5,7 +5,7 @@ import Button from "@components/Button"; ...@@ -5,7 +5,7 @@ import Button from "@components/Button";
import GoBackIconButton from "@components/GoBackIconButton"; import GoBackIconButton from "@components/GoBackIconButton";
import InputWithTopLabel from "@components/InputWithTopLabel"; import InputWithTopLabel from "@components/InputWithTopLabel";
import PaymentOption from "@components/PaymentOption"; import PaymentOption from "@components/PaymentOption";
import BackgroundDefault from "@components/backgrounds/BackgroundDefault"; import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackgroundWrapper";
import Box from "@components/bases/Box"; import Box from "@components/bases/Box";
import Text from "@components/bases/Text"; import Text from "@components/bases/Text";
import useOrangeMoney from "@hooks/useOrangeMoney"; import useOrangeMoney from "@hooks/useOrangeMoney";
...@@ -92,7 +92,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI ...@@ -92,7 +92,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
]); ]);
return ( return (
<BackgroundDefault> <BeasyDefaultBackgroundWrapper>
{/* <SafeAreaView> */} {/* <SafeAreaView> */}
{transactionsStatusMutation.isPending && <LoadingScreen />} {transactionsStatusMutation.isPending && <LoadingScreen />}
...@@ -150,7 +150,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI ...@@ -150,7 +150,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
</Box> </Box>
</Box> </Box>
{/* </SafeAreaView> */} {/* </SafeAreaView> */}
</BackgroundDefault> </BeasyDefaultBackgroundWrapper>
); );
}; };
......
...@@ -2,7 +2,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types"; ...@@ -2,7 +2,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types";
import BeasyLogoIcon from "@components/BeasyLogoIcon"; import BeasyLogoIcon from "@components/BeasyLogoIcon";
import Button from "@components/Button"; import Button from "@components/Button";
import GoBackIconButton from "@components/GoBackIconButton"; import GoBackIconButton from "@components/GoBackIconButton";
import BackgroundDefault from "@components/backgrounds/BackgroundDefault"; import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackgroundWrapper";
import Box from "@components/bases/Box"; import Box from "@components/bases/Box";
import Text from "@components/bases/Text"; import Text from "@components/bases/Text";
import CheckIcon from "@components/icons/CheckIcon"; import CheckIcon from "@components/icons/CheckIcon";
...@@ -20,7 +20,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen"> ...@@ -20,7 +20,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen">
const insets = useSafeAreaInsets(); const insets = useSafeAreaInsets();
log.debug("insets", insets); log.debug("insets", insets);
return ( return (
<BackgroundDefault> <BeasyDefaultBackgroundWrapper>
<SafeAreaView edges={["top", "left", "right"]}> <SafeAreaView edges={["top", "left", "right"]}>
<Box <Box
style={{ style={{
...@@ -135,7 +135,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen"> ...@@ -135,7 +135,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen">
</Box> </Box>
</Box> </Box>
</SafeAreaView> </SafeAreaView>
</BackgroundDefault> </BeasyDefaultBackgroundWrapper>
); );
}; };
......
...@@ -3,7 +3,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types"; ...@@ -3,7 +3,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types";
import Button from "@components/Button"; import Button from "@components/Button";
import ContainerBorderTopCurved from "@components/ContainerBorderTopCurved"; import ContainerBorderTopCurved from "@components/ContainerBorderTopCurved";
import InputWithTopLabel from "@components/InputWithTopLabel"; import InputWithTopLabel from "@components/InputWithTopLabel";
import BackgroundDefault from "@components/backgrounds/BackgroundDefault"; import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackgroundWrapper";
import Box from "@components/bases/Box"; import Box from "@components/bases/Box";
import Text from "@components/bases/Text"; import Text from "@components/bases/Text";
import { Fontisto } from "@expo/vector-icons"; import { Fontisto } from "@expo/vector-icons";
...@@ -27,7 +27,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav ...@@ -27,7 +27,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
}, [email, password, login]); }, [email, password, login]);
return ( return (
<BackgroundDefault> <BeasyDefaultBackgroundWrapper>
<View style={[containers.containerFull]}> <View style={[containers.containerFull]}>
<Box style={{ height: "20%" }} px={"l"}> <Box style={{ height: "20%" }} px={"l"}>
<Box <Box
...@@ -98,7 +98,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav ...@@ -98,7 +98,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
</KeyboardAwareScrollView> </KeyboardAwareScrollView>
</ContainerBorderTopCurved> </ContainerBorderTopCurved>
</View> </View>
</BackgroundDefault> </BeasyDefaultBackgroundWrapper>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment