Remove seek time overlay from tvOS storyboard preview

This commit is contained in:
Arkadiusz Fal
2026-04-15 06:27:35 +02:00
parent d422bf13e5
commit c52796db75

View File

@@ -42,8 +42,6 @@ struct TVSeekPreviewView: View {
private let thumbnailWidth: CGFloat = 320 private let thumbnailWidth: CGFloat = 320
var body: some View { var body: some View {
// Thumbnail with timestamp overlay (scaled up for TV)
ZStack(alignment: .bottom) {
Group { Group {
if let thumbnail { if let thumbnail {
Image(uiImage: thumbnail) Image(uiImage: thumbnail)
@@ -57,18 +55,6 @@ struct TVSeekPreviewView: View {
} }
.frame(width: thumbnailWidth, height: 180) .frame(width: thumbnailWidth, height: 180)
.clipped() .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)
}
.clipShape(.rect(cornerRadius: 4)) .clipShape(.rect(cornerRadius: 4))
.padding(4) .padding(4)
.glassBackground( .glassBackground(