import Button from '@app/components/Button' import { Song } from '@app/models/library' import { QueueContextType } from '@app/models/trackplayer' import { useStore } from '@app/state/store' import colors from '@app/styles/colors' import React, { useState } from 'react' import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native' import Icon from 'react-native-vector-icons/Ionicons' import IconMat from 'react-native-vector-icons/MaterialIcons' const ListPlayerControls = React.memo<{ songs: Song[] typeName: string queueName: string queueContextType: QueueContextType queueContextId: string style?: StyleProp }>(({ songs, typeName, queueName, queueContextType, queueContextId, style }) => { const [downloaded, setDownloaded] = useState(false) const setQueue = useStore(store => store.setQueue) return ( ) }) const styles = StyleSheet.create({ controls: { flexDirection: 'row', }, controlsSide: { flex: 4, flexDirection: 'row', justifyContent: 'center', }, controlsCenter: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, }) export default ListPlayerControls