From cb6eaa180e7c96dd31b9d6668aa802b82806530d Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 15 Dec 2022 12:09:36 +0100 Subject: [PATCH] Fix history view --- Shared/Home/HistoryView.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Shared/Home/HistoryView.swift b/Shared/Home/HistoryView.swift index 1a2437aa..d9f4fb1e 100644 --- a/Shared/Home/HistoryView.swift +++ b/Shared/Home/HistoryView.swift @@ -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) + } } } }