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