Minor fixes

This commit is contained in:
Arkadiusz Fal
2022-12-20 23:24:39 +01:00
parent 37d8873424
commit c432aa3b9a
8 changed files with 30 additions and 26 deletions

View File

@@ -123,17 +123,14 @@ struct VideoBanner: View {
#endif
}
.fixedSize(horizontal: false, vertical: true)
.contentShape(Rectangle())
#if os(tvOS)
.buttonStyle(.card)
#else
.padding(.trailing, 10)
#elseif os(macOS)
.buttonStyle(.plain)
#endif
#if os(tvOS)
.padding(.trailing, 10)
#endif
.opacity(contentOpacity)
.id(id ?? video?.videoID ?? video?.id)
.opacity(contentOpacity)
}
private var extraAttributes: some View {