mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix progress view on banner
This commit is contained in:
parent
256b1671c1
commit
ac99971d03
@ -22,7 +22,7 @@ struct VideoBanner: View {
|
||||
|
||||
var body: some View {
|
||||
HStack(alignment: stackAlignment, spacing: 12) {
|
||||
ZStack(alignment: .bottom) {
|
||||
VStack(spacing: thumbnailStackSpacing) {
|
||||
smallThumbnail
|
||||
|
||||
#if !os(tvOS)
|
||||
@ -114,6 +114,14 @@ struct VideoBanner: View {
|
||||
#endif
|
||||
}
|
||||
|
||||
private var thumbnailStackSpacing: Double {
|
||||
#if os(tvOS)
|
||||
8
|
||||
#else
|
||||
2
|
||||
#endif
|
||||
}
|
||||
|
||||
@ViewBuilder private var smallThumbnail: some View {
|
||||
ZStack {
|
||||
Color("PlaceholderColor")
|
||||
|
Loading…
Reference in New Issue
Block a user