1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-28 07:50:33 +05:30

Fix banner content shape

This commit is contained in:
Arkadiusz Fal 2022-12-21 21:17:10 +01:00
parent 52f96c3837
commit 5de52e55f6

View File

@ -123,7 +123,6 @@ struct VideoBanner: View {
#endif #endif
} }
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)
#if os(tvOS) #if os(tvOS)
.buttonStyle(.card) .buttonStyle(.card)
.padding(.trailing, 10) .padding(.trailing, 10)
@ -131,6 +130,7 @@ struct VideoBanner: View {
.buttonStyle(.plain) .buttonStyle(.plain)
#endif #endif
.opacity(contentOpacity) .opacity(contentOpacity)
.contentShape(Rectangle())
} }
private var extraAttributes: some View { private var extraAttributes: some View {