mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
reorg again, absolute (module) imports
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
import React from 'react'
|
||||
import { DarkTheme, NavigationContainer } from '@react-navigation/native'
|
||||
import SplashPage from '@app/screens/SplashPage'
|
||||
import RootNavigator from '@app/navigation/RootNavigator'
|
||||
import { Provider } from 'jotai'
|
||||
import { StatusBar, View } from 'react-native'
|
||||
import colors from '@app/styles/colors'
|
||||
import TrackPlayerState from '@app/components/TrackPlayerState'
|
||||
|
||||
const theme = { ...DarkTheme }
|
||||
theme.colors.background = colors.gradient.high
|
||||
|
||||
const App = () => (
|
||||
<Provider>
|
||||
<StatusBar animated={true} backgroundColor={'rgba(0, 0, 0, 0.4)'} barStyle={'light-content'} translucent={true} />
|
||||
<TrackPlayerState />
|
||||
<View style={{ flex: 1, backgroundColor: colors.gradient.high }}>
|
||||
<SplashPage>
|
||||
<NavigationContainer theme={theme}>
|
||||
<RootNavigator />
|
||||
</NavigationContainer>
|
||||
</SplashPage>
|
||||
</View>
|
||||
</Provider>
|
||||
)
|
||||
|
||||
export default App
|
||||
Reference in New Issue
Block a user