Improve player queue rows buttons labels

This commit is contained in:
Arkadiusz Fal 2021-12-19 18:18:33 +01:00
parent 9b2209c9b5
commit f89c5ff055

View File

@ -76,11 +76,16 @@ struct PlayerQueueView: View {
ForEach(player.currentVideo!.related) { video in ForEach(player.currentVideo!.related) { video in
PlayerQueueRow(item: PlayerQueueItem(video), fullScreen: $fullScreen) PlayerQueueRow(item: PlayerQueueItem(video), fullScreen: $fullScreen)
.contextMenu { .contextMenu {
Button("Play Next") { Button {
player.playNext(video) player.playNext(video)
} label: {
Label("Play Next", systemImage: "text.insert")
} }
Button("Play Last") {
Button {
player.enqueueVideo(video) player.enqueueVideo(video)
} label: {
Label("Play Last", systemImage: "text.append")
} }
} }
} }