From 48d14c623cecb0a8be4b9854b49d9c42e52e60e8 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 19 Feb 2023 14:18:19 +0100 Subject: [PATCH] Fix build issue --- Shared/Videos/VideoCell.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Shared/Videos/VideoCell.swift b/Shared/Videos/VideoCell.swift index 3ed566c7..00d2b6c8 100644 --- a/Shared/Videos/VideoCell.swift +++ b/Shared/Videos/VideoCell.swift @@ -166,7 +166,6 @@ struct VideoCell: View { HStack(spacing: Constants.channelDetailsStackSpacing) { if !inChannelView, - let video, let url = video.channel.thumbnailURLOrCached, video != .fixture { @@ -297,7 +296,6 @@ struct VideoCell: View { HStack(spacing: 8) { if channelOnThumbnail, !inChannelView, - let video, let url = video.channel.thumbnailURLOrCached, video != .fixture { @@ -388,8 +386,7 @@ struct VideoCell: View { VStack { HStack(alignment: .top) { if saveHistory, - watchedVideoStyle.isShowingBadge, - let video + watchedVideoStyle.isShowingBadge { WatchView(watch: watch, videoID: video.videoID, duration: video.length) }