Skip to content

Commit

Permalink
feat: add "Add to queue" option to playlist (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnk123 authored Feb 1, 2025
1 parent da58f5c commit 573edb0
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,18 @@ fun PlaylistDropdownMenu(
)
}
)
DropdownMenuItem(
leadingIcon = {
Icon(Icons.AutoMirrored.Filled.PlaylistPlay, null)
},
text = {
Text(context.symphony.t.AddToQueue)
},
onClick = {
onDismissRequest()
context.symphony.radio.queue.add(playlist.getSongIds(context.symphony))
}
)
DropdownMenuItem(
leadingIcon = {
Icon(Icons.AutoMirrored.Filled.PlaylistAdd, null)
Expand Down

0 comments on commit 573edb0

Please sign in to comment.