Commit 2e8bbc7f by G

wrapped by the context and using the all new navigation system.

parent cd9a9dc7
import { MyTabs } from "@/navigations/BottomTabs";
import { UserAuthenticationContextProvider } from "@/contexts/UserAuthenticationContext";
import UnloggedUserStackNavigation from "@/navigations/UnloggedUserStackNavigation";
import theme from "@/themes/Theme";
import { NavigationContainer } from "@react-navigation/native";
import { ThemeProvider } from "@shopify/restyle";
......@@ -7,15 +8,17 @@ import { StyleSheet } from "react-native";
export default function App() {
return (
<ThemeProvider theme={theme}>
<NavigationContainer>
{/* <View style={styles.container}> */}
{/* <SafeAreaProvider>
<UserAuthenticationContextProvider>
<NavigationContainer>
{/* <View style={styles.container}> */}
{/* <SafeAreaProvider>
<StatusBar style="auto" />
<UserLoginScreen />
</SafeAreaProvider> */}
<MyTabs />
{/* </View> */}
</NavigationContainer>
<UnloggedUserStackNavigation />
{/* </View> */}
</NavigationContainer>
</UserAuthenticationContextProvider>
</ThemeProvider>
);
}
......@@ -28,3 +31,5 @@ const styles = StyleSheet.create({
justifyContent: "center",
},
});
const NavigatonRenderer = () => {};
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