Trying to fix some whack ass bugs
This commit is contained in:
@@ -27,16 +27,18 @@ const RootLayout = () => {
|
||||
const colorScheme = useColorScheme();
|
||||
|
||||
return (
|
||||
<ThemeProvider value={colorScheme === 'dark' ? DarkTheme : DefaultTheme}>
|
||||
<Stack>
|
||||
<Stack.Screen name='(tabs)' options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name='modal'
|
||||
options={{ presentation: 'modal', title: 'Modal' }}
|
||||
/>
|
||||
</Stack>
|
||||
<StatusBar style='auto' />
|
||||
</ThemeProvider>
|
||||
<ConvexProvider client={convex}>
|
||||
<ThemeProvider value={colorScheme === 'dark' ? DarkTheme : DefaultTheme}>
|
||||
<Stack>
|
||||
<Stack.Screen name='(tabs)' options={{ headerShown: false }} />
|
||||
<Stack.Screen
|
||||
name='modal'
|
||||
options={{ presentation: 'modal', title: 'Modal' }}
|
||||
/>
|
||||
</Stack>
|
||||
<StatusBar style='auto' />
|
||||
</ThemeProvider>
|
||||
</ConvexProvider>
|
||||
);
|
||||
};
|
||||
export default Sentry.wrap(RootLayout);
|
||||
|
Reference in New Issue
Block a user