-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathApp.tsx
27 lines (23 loc) · 789 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import "react-native-gesture-handler";
import React from "react";
import { LogBox } from "react-native";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { GestureHandlerRootView } from "react-native-gesture-handler";
import Navigation from "@app/navigation/Main";
import * as SplashScreen from "expo-splash-screen";
import { ThemeProvider } from "@app/context/ThemeProvider";
LogBox.ignoreAllLogs();
// Keep the splash screen visible while we fetch resources
SplashScreen.preventAutoHideAsync();
const App = () => {
return (
<SafeAreaProvider>
<GestureHandlerRootView style={{ flex: 1 }}>
<ThemeProvider>
<Navigation />
</ThemeProvider>
</GestureHandlerRootView>
</SafeAreaProvider>
);
};
export default App;