mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
first-pass context menu for albums
This commit is contained in:
19
app/App.tsx
19
app/App.tsx
@@ -6,6 +6,7 @@ import { StatusBar, View } from 'react-native'
|
||||
import ProgressHook from './components/ProgressHook'
|
||||
import { useStore } from './state/store'
|
||||
import { selectTrackPlayer } from './state/trackplayer'
|
||||
import { MenuProvider } from 'react-native-popup-menu'
|
||||
|
||||
const Debug = () => {
|
||||
const currentTrack = useStore(selectTrackPlayer.currentTrack)
|
||||
@@ -14,14 +15,16 @@ const Debug = () => {
|
||||
}
|
||||
|
||||
const App = () => (
|
||||
<View style={{ flex: 1, backgroundColor: colors.gradient.high }}>
|
||||
<StatusBar animated={true} backgroundColor={'rgba(0, 0, 0, 0.4)'} barStyle={'light-content'} translucent={true} />
|
||||
<SplashPage>
|
||||
<ProgressHook />
|
||||
<Debug />
|
||||
<RootNavigator />
|
||||
</SplashPage>
|
||||
</View>
|
||||
<MenuProvider>
|
||||
<View style={{ flex: 1, backgroundColor: colors.gradient.high }}>
|
||||
<StatusBar animated={true} backgroundColor={'rgba(0, 0, 0, 0.4)'} barStyle={'light-content'} translucent={true} />
|
||||
<SplashPage>
|
||||
<ProgressHook />
|
||||
<Debug />
|
||||
<RootNavigator />
|
||||
</SplashPage>
|
||||
</View>
|
||||
</MenuProvider>
|
||||
)
|
||||
|
||||
export default App
|
||||
|
||||
Reference in New Issue
Block a user