@@ -6,7 +6,6 @@ import { NavigationContainer } from '@react-navigation/native'
6
6
import { navigationRef } from '@/Navigators/Root'
7
7
import { SafeAreaView , StatusBar } from 'react-native'
8
8
import { useTheme } from '@/Theme'
9
- import { AppearanceProvider } from 'react-native-appearance'
10
9
import { StartupState } from '@/Store/Startup'
11
10
12
11
const Stack = createStackNavigator ( )
@@ -39,25 +38,23 @@ const ApplicationNavigator = () => {
39
38
)
40
39
41
40
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 >
61
58
)
62
59
}
63
60
0 commit comments