From 5de52e55f63c5e0a2eca7fe747bf609e2018a817 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 21 Dec 2022 21:17:10 +0100 Subject: [PATCH] Fix banner content shape --- Shared/Videos/VideoBanner.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Videos/VideoBanner.swift b/Shared/Videos/VideoBanner.swift index 6c356dd2..f9c4a609 100644 --- a/Shared/Videos/VideoBanner.swift +++ b/Shared/Videos/VideoBanner.swift @@ -123,7 +123,6 @@ struct VideoBanner: View { #endif } .fixedSize(horizontal: false, vertical: true) - #if os(tvOS) .buttonStyle(.card) .padding(.trailing, 10) @@ -131,6 +130,7 @@ struct VideoBanner: View { .buttonStyle(.plain) #endif .opacity(contentOpacity) + .contentShape(Rectangle()) } private var extraAttributes: some View {