From c52796db75d107a257ba007ed532d42bb4cd9df3 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 15 Apr 2026 06:27:35 +0200 Subject: [PATCH] Remove seek time overlay from tvOS storyboard preview --- .../Views/Player/tvOS/TVSeekPreviewView.swift | 36 ++++++------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/Yattee/Views/Player/tvOS/TVSeekPreviewView.swift b/Yattee/Views/Player/tvOS/TVSeekPreviewView.swift index 759e0091..ccf7c1d9 100644 --- a/Yattee/Views/Player/tvOS/TVSeekPreviewView.swift +++ b/Yattee/Views/Player/tvOS/TVSeekPreviewView.swift @@ -42,33 +42,19 @@ struct TVSeekPreviewView: View { private let thumbnailWidth: CGFloat = 320 var body: some View { - // Thumbnail with timestamp overlay (scaled up for TV) - ZStack(alignment: .bottom) { - Group { - if let thumbnail { - Image(uiImage: thumbnail) - .resizable() - .aspectRatio(contentMode: .fill) - } else { - // Placeholder while loading - Rectangle() - .fill(Color.gray.opacity(0.3)) - } + Group { + if let thumbnail { + Image(uiImage: thumbnail) + .resizable() + .aspectRatio(contentMode: .fill) + } else { + // Placeholder while loading + Rectangle() + .fill(Color.gray.opacity(0.3)) } - .frame(width: thumbnailWidth, height: 180) - .clipped() - - // Timestamp overlaid at bottom center (larger for TV) - Text(seekTime.formattedAsTimestamp) - .font(.system(size: 36, weight: .medium)) - .monospacedDigit() - .foregroundStyle(.white) - .padding(.horizontal, 12) - .padding(.vertical, 6) - .background(.black.opacity(0.7)) - .clipShape(.rect(cornerRadius: 6)) - .padding(.bottom, 8) } + .frame(width: thumbnailWidth, height: 180) + .clipped() .clipShape(.rect(cornerRadius: 4)) .padding(4) .glassBackground(