track controls

This commit is contained in:
Boof2015
2026-07-02 22:23:08 -04:00
parent 5be18ba9b6
commit 0003c7d778
13 changed files with 466 additions and 197 deletions
+1
View File
@@ -111,6 +111,7 @@ export default function AlbumScreen() {
active={item.path === currentPath}
onPress={() => playFrom(index)}
onLongPress={() => setActionTrack(item)}
onOpenActions={() => setActionTrack(item)}
/>
)}
/>
+1
View File
@@ -119,6 +119,7 @@ export default function ArtistScreen() {
active={item.track.path === currentPath}
onPress={() => playTrackListFrom(sourceTracks, item.index)}
onLongPress={() => setActionTrack(item.track)}
onOpenActions={() => setActionTrack(item.track)}
/>
);
}
@@ -62,6 +62,7 @@ export default function ArtistAppearancesScreen() {
active={item.path === currentPath}
onPress={() => playFrom(index)}
onLongPress={() => setActionTrack(item)}
onOpenActions={() => setActionTrack(item)}
/>
)}
ListEmptyComponent={<EmptyList label="No appearances found for this artist." />}
@@ -62,6 +62,7 @@ export default function ArtistSongsScreen() {
active={item.path === currentPath}
onPress={() => playFrom(index)}
onLongPress={() => setActionTrack(item)}
onOpenActions={() => setActionTrack(item)}
/>
)}
ListEmptyComponent={<EmptyList label="No songs found for this artist." />}
+1
View File
@@ -175,6 +175,7 @@ export default function LibraryScreen() {
active={item.path === currentPath}
onPress={() => playAllFrom(index)}
onLongPress={() => setActionTrack(item)}
onOpenActions={() => setActionTrack(item)}
/>
)}
/>
+1
View File
@@ -231,6 +231,7 @@ export default function PlaylistScreen() {
active={item.track.path === currentPath}
onPress={() => startPlayback(playableIndexByEntryId.get(item.id) ?? 0)}
onLongPress={() => setActionEntry(item)}
onOpenActions={() => setActionEntry(item)}
/>
) : (
<MissingRow entry={item} onLongPress={() => setMissingEntry(item)} />