-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.jsx
More file actions
55 lines (42 loc) · 1.27 KB
/
App.jsx
File metadata and controls
55 lines (42 loc) · 1.27 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import 'react-native-gesture-handler'
import React from 'react';
import { View, StatusBar, useColorScheme, Text } from 'react-native';
import StackTab from './Source/Navigation/Stack.jsx'; // Assuming StackTab is your main navigation component
import { ThemeProvider, createTheme } from '@rneui/themed';
import { Provider } from 'react-redux';
import { SafeAreaView } from 'react-native-safe-area-context'
import Filter from './Source/Components/Filter.jsx';
import store from './Source/Redux/Store.js';
import LoadingScreen from './Source/Components/LoadingScreen.jsx';
function App() {
const isDarkMode = useColorScheme() === 'dark';
const containerStyle = {
backgroundColor: '#10141F', // Set the background color here
flex: 1,
color:'white'
};
const theme = createTheme({
components: {
Button: {
raised: true,
},
},
});
return (
<Provider store={store} >
<SafeAreaView style={containerStyle}>
<ThemeProvider theme={theme}>
<StatusBar
barStyle={'light-content'}
backgroundColor="#10141F"
color='white'
/>
<StackTab />
{/* <Filter /> */}
<LoadingScreen />
</ThemeProvider>
</SafeAreaView>
</Provider>
)
}
export default App;