2020-06-16 17:51:51 +02:00
|
|
|
import React from 'react';
|
|
|
|
|
import MediaControls from './components/MediaControls';
|
|
|
|
|
import ProgressBar from './components/ProgressBar';
|
|
|
|
|
import NowPlaying from './components/NowPlaying';
|
|
|
|
|
import Queue from './components/Queue';
|
2022-01-02 22:50:49 +01:00
|
|
|
import ConnectionNotice from './components/ConnectionNotice';
|
2022-05-05 22:54:37 +02:00
|
|
|
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
2022-05-10 23:52:58 +02:00
|
|
|
import StreamStatus from './components/StreamStatus';
|
2020-06-16 17:51:51 +02:00
|
|
|
|
2022-05-18 21:55:59 +02:00
|
|
|
export default function Player() {
|
2020-06-16 17:51:51 +02:00
|
|
|
return (
|
2022-05-05 22:59:32 +02:00
|
|
|
<GestureHandlerRootView style={{ flex: 1 }}>
|
2022-05-18 21:55:59 +02:00
|
|
|
<Queue header={(
|
|
|
|
|
<>
|
|
|
|
|
<NowPlaying />
|
|
|
|
|
<ConnectionNotice />
|
|
|
|
|
<StreamStatus />
|
|
|
|
|
<ProgressBar />
|
|
|
|
|
<MediaControls />
|
|
|
|
|
</>
|
|
|
|
|
)} />
|
2022-05-05 22:54:37 +02:00
|
|
|
</GestureHandlerRootView>
|
2020-06-16 17:51:51 +02:00
|
|
|
);
|
|
|
|
|
}
|