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
@@ -18,7 +18,6 @@ import SwiftUI
import Combine
import Mapbox
@available(iOS 14, *)
struct LocationSharingMapView: UIViewRepresentable {
// MARK: - Constants
@@ -109,7 +108,6 @@ struct LocationSharingMapView: UIViewRepresentable {
}
// MARK: - Coordinator
@available(iOS 14, *)
extension LocationSharingMapView {
class Coordinator: NSObject, MGLMapViewDelegate, UIGestureRecognizerDelegate {
@@ -16,7 +16,6 @@
import SwiftUI
@available(iOS 14.0, *)
struct LocationSharingMarkerView<Content: View>: View {
// MARK: - Properties
@@ -45,7 +44,6 @@ struct LocationSharingMarkerView<Content: View>: View {
// MARK: - Previews
@available(iOS 14.0, *)
struct LocationSharingUserMarkerView_Previews: PreviewProvider {
static var previews: some View {
let avatarData = AvatarInput(mxContentUri: "",
@@ -16,7 +16,6 @@
import SwiftUI
@available(iOS 14.0, *)
struct LocationSharingOptionButton<Content: View>: View {
// MARK: - Properties
@@ -42,7 +41,6 @@ struct LocationSharingOptionButton<Content: View>: View {
}
}
@available(iOS 14.0, *)
struct LocationSharingOptionButton_Previews: PreviewProvider {
static var previews: some View {
VStack(alignment: .leading) {
@@ -17,7 +17,6 @@
import SwiftUI
import CoreLocation
@available(iOS 14.0, *)
struct LocationSharingView: View {
// MARK: - Properties
@@ -164,7 +163,6 @@ struct LocationSharingView: View {
// MARK: - Previews
@available(iOS 14.0, *)
struct LocationSharingView_Previews: PreviewProvider {
static let stateRenderer = MockLocationSharingScreenState.stateRenderer
static var previews: some View {
@@ -16,7 +16,6 @@
import SwiftUI
@available(iOS 14.0, *)
struct MapCreditsView: View {
// MARK: - Properties
@@ -36,7 +35,6 @@ struct MapCreditsView: View {
}
}
@available(iOS 14.0, *)
struct MapCreditsView_Previews: PreviewProvider {
static var previews: some View {
MapCreditsView()
@@ -18,7 +18,6 @@ import Foundation
import SwiftUI
import Mapbox
@available(iOS 14, *)
class LocationAnnotationView: MGLUserLocationAnnotationView {
// MARK: - Constants