-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
30 lines (28 loc) · 964 Bytes
/
Copy pathApp.js
File metadata and controls
30 lines (28 loc) · 964 Bytes
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
29
30
import React from 'react';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { ThemeProvider } from './src/contexts/ThemeContext';
import { AlertProvider } from './src/contexts/AlertContext';
import { AuthProvider } from './src/contexts/AuthContext';
import { LanguageProvider } from './src/contexts/LanguageContext';
import Navigation from './src/navigation';
import ErrorBoundary from './src/components/ErrorBoundary';
import { useWebScrollFix } from './src/utils/webScrollFix';
export default function App() {
// Apply the global web scroll fixes
useWebScrollFix();
return (
<SafeAreaProvider>
<ThemeProvider>
<LanguageProvider>
<AlertProvider>
<AuthProvider>
<ErrorBoundary>
<Navigation />
</ErrorBoundary>
</AuthProvider>
</AlertProvider>
</LanguageProvider>
</ThemeProvider>
</SafeAreaProvider>
);
}