mirror of
https://github.com/yattee/yattee.git
synced 2025-01-06 21:07:12 +00:00
Fix history view
This commit is contained in:
parent
f6d3d5504a
commit
cb6eaa180e
@ -19,13 +19,13 @@ struct HistoryView: View {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ForEach(visibleWatches, id: \.videoID) { watch in
|
ForEach(visibleWatches, id: \.videoID) { watch in
|
||||||
PlayerQueueRow(
|
let video = player.historyVideo(watch.videoID) ?? watch.video
|
||||||
item: PlayerQueueItem.from(watch, video: player.historyVideo(watch.videoID)),
|
|
||||||
history: true
|
ContentItemView(item: .init(video: video))
|
||||||
)
|
.environment(\.listingStyle, .list)
|
||||||
.contextMenu {
|
.contextMenu {
|
||||||
VideoContextMenuView(video: player.historyVideo(watch.videoID) ?? watch.video)
|
VideoContextMenuView(video: video)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user