mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Remove all @available(iOS 14... annotations
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user