Fix unneeded binding

This commit is contained in:
Arkadiusz Fal
2022-12-13 20:15:22 +01:00
parent 0517b4feea
commit 14b894a2e9
2 changed files with 3 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ struct PlayerQueueView: View {
}
ForEach(player.queue) { item in
PlayerQueueRow(item: item, fullScreen: $fullScreen)
PlayerQueueRow(item: item)
.contextMenu {
removeButton(item)
removeAllButton()
@@ -107,7 +107,7 @@ struct PlayerQueueView: View {
if let related = player.currentVideo?.related, !related.isEmpty {
Section(header: Text("Related")) {
ForEach(related) { video in
PlayerQueueRow(item: PlayerQueueItem(video), fullScreen: $fullScreen)
PlayerQueueRow(item: PlayerQueueItem(video))
.contextMenu {
VideoContextMenuView(video: video)
}