@@ -6,7 +6,6 @@ import { NavigationContainer } from '@react-navigation/native'
66import { navigationRef } from '@/Navigators/Root'
77import { SafeAreaView , StatusBar } from 'react-native'
88import { useTheme } from '@/Theme'
9- import { AppearanceProvider } from 'react-native-appearance'
109import { StartupState } from '@/Store/Startup'
1110
1211const Stack = createStackNavigator ( )
@@ -39,25 +38,23 @@ const ApplicationNavigator = () => {
3938 )
4039
4140 return (
42- < AppearanceProvider >
43- < SafeAreaView style = { [ Layout . fill , { backgroundColor : colors . card } ] } >
44- < NavigationContainer theme = { NavigationTheme } ref = { navigationRef } >
45- < StatusBar barStyle = { darkMode ? 'light-content' : 'dark-content' } />
46- < Stack . Navigator headerMode = { 'none' } >
47- < Stack . Screen name = "Startup" component = { IndexStartupContainer } />
48- { isApplicationLoaded && MainNavigator != null && (
49- < Stack . Screen
50- name = "Main"
51- component = { MainNavigator }
52- options = { {
53- animationEnabled : false ,
54- } }
55- />
56- ) }
57- </ Stack . Navigator >
58- </ NavigationContainer >
59- </ SafeAreaView >
60- </ AppearanceProvider >
41+ < SafeAreaView style = { [ Layout . fill , { backgroundColor : colors . card } ] } >
42+ < NavigationContainer theme = { NavigationTheme } ref = { navigationRef } >
43+ < StatusBar barStyle = { darkMode ? 'light-content' : 'dark-content' } />
44+ < Stack . Navigator headerMode = { 'none' } >
45+ < Stack . Screen name = "Startup" component = { IndexStartupContainer } />
46+ { isApplicationLoaded && MainNavigator != null && (
47+ < Stack . Screen
48+ name = "Main"
49+ component = { MainNavigator }
50+ options = { {
51+ animationEnabled : false ,
52+ } }
53+ />
54+ ) }
55+ </ Stack . Navigator >
56+ </ NavigationContainer >
57+ </ SafeAreaView >
6158 )
6259}
6360
0 commit comments