mirror of
https://github.com/yattee/yattee.git
synced 2026-05-14 03:15:03 +00:00
Remove channel card background on tvOS and fix grid focus clipping
This commit is contained in:
@@ -72,8 +72,10 @@ struct ChannelCardGridView: View {
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
.padding()
|
||||
.background(.quaternary.opacity(0.3))
|
||||
.clipShape(RoundedRectangle(cornerRadius: 12))
|
||||
#if !os(tvOS)
|
||||
.background(.quaternary.opacity(0.3))
|
||||
.clipShape(RoundedRectangle(cornerRadius: 12))
|
||||
#endif
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,9 @@ struct ViewOptionsSheet: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.scrollClipDisabled()
|
||||
.padding(.horizontal, 40)
|
||||
.padding(.vertical, 24)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user