addChantier / selectMachine / machineSummary : presque fini

This commit is contained in:
Rochas
2025-12-13 15:35:01 +01:00
parent 1407d3b20f
commit e8e30d541d
4 changed files with 145 additions and 46 deletions

View File

@@ -16,6 +16,7 @@ import { Platform, UIManager } from 'react-native';
import { ChantierProvider } from "./ContextChantier";
import { UserProvider } from "./ContextUser";
import { RessourcesProvider } from "./ContextRessource";
import LoginScreen from "./login/login";
export const unstable_settings = {
@@ -60,6 +61,7 @@ export default function RootLayout() {
<ChantierProvider>
<RessourcesProvider>
<ThemeProvider value={colorScheme === "dark" ? DarkTheme : DefaultTheme}>
//faut que le login soit ici
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="selectChantier" options={{ headerShown: false }}/>