feat(mobile): open album and artist menu from player artist

This commit is contained in:
joshuafhiggins committed 2026-11-15 14:28:32 -05:00 Verified
1 parent b598173137
commit 9046df1733
1 file changed
+22 -7
+22 -7
View File
@@ -544,13 +544,28 @@ function SongMeta({
{ color: colors.foreground },
]}
/>
<MarqueeText
text={song.artist.name}
style={[
compact ? styles.compactArtist : styles.artist,
{ color: colors.secondaryForeground },
]}
/>
<MediaActionMenu
navigation={{
artist: { id: song.artist.id },
album: { id: song.album.id },
}}
includeActions={["go-album", "go-artist"]}
onAction={handleAction}
>
<Pressable
accessibilityRole="button"
accessibilityLabel={song.artist.name}
accessibilityHint="Opens album and artist options"
>
<MarqueeText
text={song.artist.name}
style={[
compact ? styles.compactArtist : styles.artist,
{ color: colors.secondaryForeground },
]}
/>
</Pressable>
</MediaActionMenu>
</View>
<Pressable
onPress={() => void toggleSongFavorite(song.id)}