From a37f3e4a07cd7fab3657bde2834f7a1d6535f3a6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 19 Nov 2025 18:54:51 +0100 Subject: [PATCH] Adjust tvOS video cell dimensions for better layout Reduced video cell and grid item sizes on tvOS to improve layout spacing and visual consistency. Changed grid item size from 600 to 560 pixels, and adjusted video cell frame dimensions accordingly. --- Shared/Videos/VerticalCells.swift | 4 ++-- Shared/Videos/VideoCell.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shared/Videos/VerticalCells.swift b/Shared/Videos/VerticalCells.swift index 6e633925..ef328414 100644 --- a/Shared/Videos/VerticalCells.swift +++ b/Shared/Videos/VerticalCells.swift @@ -84,7 +84,7 @@ struct VerticalCells: View { #if os(iOS) return verticalSizeClass == .regular ? 320 : 800 #elseif os(tvOS) - return 600 + return 560 #else return 320 #endif @@ -92,7 +92,7 @@ struct VerticalCells: View { var adaptiveGridItemMaximumSize: Double { #if os(tvOS) - return 600 + return 560 #else return .infinity #endif diff --git a/Shared/Videos/VideoCell.swift b/Shared/Videos/VideoCell.swift index a626d96b..3095ad03 100644 --- a/Shared/Videos/VideoCell.swift +++ b/Shared/Videos/VideoCell.swift @@ -39,7 +39,7 @@ struct VideoCell: View { Button(action: playAction) { content #if os(tvOS) - .frame(width: 580, height: channelOnThumbnail ? 470 : 500) + .frame(width: 550, height: channelOnThumbnail ? 446 : 480) #endif } .opacity(contentOpacity)