Drop iOS 14 and macOS 11 support

This commit is contained in:
Arkadiusz Fal
2023-07-01 18:38:11 +02:00
parent a1c9d3aaa9
commit dcef7f47ff
46 changed files with 90 additions and 688 deletions

View File

@@ -40,7 +40,7 @@ struct ChannelVideosView: View {
}
var body: some View {
let content = VStack {
VStack {
#if os(tvOS)
VStack {
HStack(spacing: 24) {
@@ -181,19 +181,12 @@ struct ChannelVideosView: View {
.navigationTitle(navigationTitle)
#endif
return Group {
if #available(macOS 12.0, *) {
content
#if os(tvOS)
.background(Color.background(scheme: colorScheme))
#endif
#if !os(iOS)
.focusScope(focusNamespace)
#endif
} else {
content
}
}
#if os(tvOS)
.background(Color.background(scheme: colorScheme))
#endif
#if !os(iOS)
.focusScope(focusNamespace)
#endif
}
var verticalCellsEdgesIgnoringSafeArea: Edge.Set {