mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-08 04:19:34 -05:00
getting ready to add that same reordering to playlists
This commit is contained in:
@@ -45,29 +45,18 @@ export default function Queue({ navigation }: { navigation: NativeStackNavigatio
|
||||
const index = getIndex();
|
||||
|
||||
return (
|
||||
<SwipeableItem
|
||||
key={index}
|
||||
item={queueItem}
|
||||
renderUnderlayLeft={() => (
|
||||
<Icon name="close" onPress={() => {
|
||||
|
||||
}} />
|
||||
)}
|
||||
>
|
||||
|
||||
<Track
|
||||
navigation={navigation}
|
||||
track={queueItem.item}
|
||||
tracklist={queue.map((track) => track.item)}
|
||||
index={getIndex()}
|
||||
showArtwork
|
||||
onPress={() => {
|
||||
useSkip.mutate(index);
|
||||
}}
|
||||
onLongPress={drag}
|
||||
isNested
|
||||
/>
|
||||
</SwipeableItem>
|
||||
<Track
|
||||
navigation={navigation}
|
||||
track={queueItem.item}
|
||||
tracklist={queue.map((track) => track.item)}
|
||||
index={getIndex()}
|
||||
showArtwork
|
||||
onPress={() => {
|
||||
useSkip.mutate(index);
|
||||
}}
|
||||
onLongPress={drag}
|
||||
isNested
|
||||
/>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user