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
}
.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 {