This commit is contained in:
Thomas Demirdjian
2025-11-04 14:48:32 +01:00
parent 4bb083ea46
commit a93707b100
21 changed files with 103 additions and 13 deletions
+3
View File
@@ -6,6 +6,7 @@ import React, {
useState,
} from "react";
import { Platform, StyleSheet, View } from "react-native";
import { useIsFocused } from "@react-navigation/native";
import useMinuit from "react-native-minuit/src/hooks/useMinuit.js";
import { background, videos } from "../../assets";
import Alert from "../../components/Alert";
@@ -31,6 +32,7 @@ import {
} from "../../utils/projectStages";
const Home = ({ navigation, route }) => {
const isFocused = useIsFocused();
const {
userProjects = [],
resetSelectedProject,
@@ -425,6 +427,7 @@ const Home = ({ navigation, route }) => {
activeIndex={activeStageIndex}
onActiveIndexChange={setActiveStageIndex}
backgroundImage={homeBackgroundImage}
isFocused={isFocused}
/>
</View>
<View
+6
View File
@@ -37,6 +37,12 @@ const SETTINGS = [
navigate(Routes.Language);
},
},
{
title: "Découvrir les packs",
action: () => {
navigate(Routes.Payments, { pack: "premium" });
},
},
{
title: "Gérer mon abonnement",
action: () => {},