Commit b15b75e5 by G

feat: Default background color set to white on the navigator container itself.

parent 65d51b00
import ProvideQueryClient from "@components/providers_wrappers/ProvideQueryClient"; import ProvideQueryClient from "@components/providers_wrappers/ProvideQueryClient";
import { LOG } from "@logger"; import { LOG } from "@logger";
import { NavigationContainer } from "@react-navigation/native"; import { DefaultTheme, NavigationContainer } from "@react-navigation/native";
import { ThemeProvider } from "@shopify/restyle"; import { ThemeProvider } from "@shopify/restyle";
import { injectStoreIntoAxiosInstance } from "@/axios"; import { injectStoreIntoAxiosInstance } from "@/axios";
import { ModalsManagerProvider } from "@/contexts/ModalsManagerContext"; import { ModalsManagerProvider } from "@/contexts/ModalsManagerContext";
...@@ -25,7 +25,15 @@ export default function App() { ...@@ -25,7 +25,15 @@ export default function App() {
<SafeAreaProvider> <SafeAreaProvider>
<ProvideQueryClient> <ProvideQueryClient>
<UserAuthenticationContextProvider> <UserAuthenticationContextProvider>
<NavigationContainer> <NavigationContainer
theme={{
...DefaultTheme,
colors: {
...DefaultTheme.colors,
background: "white",
},
}}
>
<AppMainStackNavigatorAuthWrapper /> <AppMainStackNavigatorAuthWrapper />
</NavigationContainer> </NavigationContainer>
</UserAuthenticationContextProvider> </UserAuthenticationContextProvider>
......
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