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