Fix build issue

This commit is contained in:
Arkadiusz Fal 2023-02-19 14:18:19 +01:00
parent 3d45aa357e
commit 48d14c623c

View File

@ -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)
}