Remove all @available(iOS 14... annotations

This commit is contained in:
Johannes Marbach
2022-06-23 09:06:20 +02:00
parent 6d195c103d
commit 868fd7e0c8
271 changed files with 0 additions and 413 deletions

View File

@@ -20,7 +20,6 @@ import SwiftUI
///
/// Also renders an optional bottom section.
/// Used in the case of keywords, for the keyword chips and input.
@available(iOS 14.0, *)
struct NotificationSettings<BottomSection: View>: View {
@ObservedObject var viewModel: NotificationSettingsViewModel
@@ -45,14 +44,12 @@ struct NotificationSettings<BottomSection: View>: View {
}
}
@available(iOS 14.0, *)
extension NotificationSettings where BottomSection == EmptyView {
init(viewModel: NotificationSettingsViewModel) {
self.init(viewModel: viewModel, bottomSection: nil)
}
}
@available(iOS 14.0, *)
struct NotificationSettings_Previews: PreviewProvider {
static var previews: some View {
Group {