-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
28 lines (23 loc) · 834 Bytes
/
App.js
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
28
import React from 'react';
import {ThemeProvider} from 'styled-components/native';
import {StatusBar, LogBox} from 'react-native';
import {theme} from './src/infrastructure/theme';
import {Navigation} from './src/infrastructure/navigation';
import {AuthenticationContextProvider} from './src/services/authentication/authentication.context';
LogBox.ignoreLogs([
"[react-native-gesture-handler] Seems like you're using an old API with gesture components, check out new Gestures system!",
'Found screens with the same name nested inside one another.',
]);
const App = () => {
return (
<>
<ThemeProvider theme={theme}>
<AuthenticationContextProvider>
<Navigation />
</AuthenticationContextProvider>
</ThemeProvider>
<StatusBar style="auto" />
</>
);
};
export default App;