mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
reorg again, absolute (module) imports
This commit is contained in:
6
index.js
6
index.js
@@ -5,12 +5,12 @@ import { enableScreens } from 'react-native-screens'
|
||||
enableScreens()
|
||||
|
||||
import { AppRegistry } from 'react-native'
|
||||
import App from './App'
|
||||
import { name as appName } from './app.json'
|
||||
import App from '@app/App'
|
||||
import { name as appName } from '@app/app.json'
|
||||
import TrackPlayer, { Capability } from 'react-native-track-player'
|
||||
|
||||
AppRegistry.registerComponent(appName, () => App)
|
||||
TrackPlayer.registerPlaybackService(() => require('./src/playback/service'))
|
||||
TrackPlayer.registerPlaybackService(() => require('./app/service'))
|
||||
|
||||
async function start() {
|
||||
await TrackPlayer.setupPlayer()
|
||||
|
||||
Reference in New Issue
Block a user