diff --git a/src/screens/HomePageWithPaymentOptions.tsx b/src/screens/HomePageWithPaymentOptions.tsx
index e91785c..16724e3 100644
--- a/src/screens/HomePageWithPaymentOptions.tsx
+++ b/src/screens/HomePageWithPaymentOptions.tsx
@@ -1,12 +1,15 @@
import type { PaymentStackScreenComponentProps } from "@/navigations/Types";
import getPaymentTypes from "@/utils/requests/getPaymentTypes";
import BarWithBeasyAndNotificationsIcon from "@components/BarWithBeasyAndNotificationsIcon";
+import PaymentOption from "@components/PaymentOption";
import Box from "@components/bases/Box";
+import WrapperWithDefaultBeasyBackgroundAndSafeAreaTopLeftRight from "@components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaTopLeftRight";
import { LOG } from "@logger";
+import Card from "@re-card";
+import Text from "@re-text";
import { useQuery } from "@tanstack/react-query";
import { useMemo } from "react";
import { Dimensions } from "react-native";
-import { SafeAreaView } from "react-native-safe-area-context";
const log = LOG.extend("HomePageWithPaymentOptions");
@@ -33,55 +36,57 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps<"homePageWith
return (
//
-
-
+
+
+
+
+
+ Types de paiement
+
+
+
+
+ {isLoading && (
+
+
+ Chargement des méthodes de paiement...
+
+
+ )}
+ {!isLoading &&
+ !error &&
+ paymentTypesWithActiveStatus.map((paymentType) => (
+
+
+ navigation.navigate("paymentAmountInputScreen", {
+ paymentType: paymentType.code,
+ })
+ }
+ paymentMethod={paymentType.code}
+ />
+
+ ))}
+
+
{/*
*/}
-
- {/*
-
-
- Types de paiement
-
-
-
-
- {isLoading && (
-
-
- Chargement des méthodes de paiement...
-
-
- )}
- {!isLoading &&
- !error &&
- paymentTypesWithActiveStatus.map((paymentType) => (
-
-
- navigation.navigate(
- "paymentAmountInputScreen",
- {
- paymentType: paymentType.code,
- },
- )
- }
- paymentMethod={paymentType.code}
- />
-
- ))}
-
- */}
-
+
//
);
};
diff --git a/src/screens/UserProfileScreen.tsx b/src/screens/UserProfileScreen.tsx
index 0677808..099b94c 100644
--- a/src/screens/UserProfileScreen.tsx
+++ b/src/screens/UserProfileScreen.tsx
@@ -1,12 +1,11 @@
-import Box from "@components/bases/Box";
-import {} from "react";
-import {} from "react-native";
-
import { useUserAuthenticationContext } from "@/contexts/UserAuthenticationContext";
+import BarWithBeasyAndNotificationsIcon from "@components/BarWithBeasyAndNotificationsIcon";
import Button from "@components/Button";
-import BackgroundWithBeasyIconAndWhiteContentArea from "@components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea";
+import Box from "@components/bases/Box";
import Text from "@components/bases/Text";
+import WrapperWithDefaultBeasyBackgroundAndSafeAreaTopLeftRight from "@components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaTopLeftRight";
import { LOG } from "@logger";
+import Card from "@re-card";
const log = LOG.extend("UserProfileScreen");
const UserProfileScreen = () => {
@@ -17,10 +16,16 @@ const UserProfileScreen = () => {
const { userInformations } = useUserAuthenticationContext();
return (
-
+
<>
-
- {/* User Informations */}
+
+
{
{userInformations.marchand.url_echec}
-
+
>
-
+
);
};