mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Remove all @available(iOS 14... annotations
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
/// A modifier for showing the activity indicator centered over a view.
|
||||
struct ActivityIndicatorModifier: ViewModifier {
|
||||
var show: Bool
|
||||
@@ -36,9 +35,7 @@ struct ActivityIndicatorModifier: ViewModifier {
|
||||
}
|
||||
}
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
extension View {
|
||||
@available(iOS 14.0, *)
|
||||
func activityIndicator(show: Bool) -> some View {
|
||||
self.modifier(ActivityIndicatorModifier(show: show))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user