Made status bar light

This commit is contained in:
Keannu Bernasol 2023-07-17 17:52:41 +08:00
parent 00c6974cdc
commit 33ecc0fdee

View file

@ -19,6 +19,7 @@ import Activation from "./src/routes/Activation/Activation";
import UserInfo from "./src/routes/UserInfo/UserInfo"; import UserInfo from "./src/routes/UserInfo/UserInfo";
import { useState, useEffect } from "react"; import { useState, useEffect } from "react";
import { QueryClientProvider, QueryClient } from "react-query"; import { QueryClientProvider, QueryClient } from "react-query";
import { StatusBar } from "expo-status-bar";
const Drawer = createDrawerNavigator(); const Drawer = createDrawerNavigator();
@ -54,6 +55,7 @@ export default function App() {
}, [initialRoute]); }, [initialRoute]);
return ( return (
<Provider store={store}> <Provider store={store}>
<StatusBar style="light" />
<QueryClientProvider client={queryClient}> <QueryClientProvider client={queryClient}>
<NavigationContainer linking={linking}> <NavigationContainer linking={linking}>
<Drawer.Navigator <Drawer.Navigator