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
@@ -16,7 +16,6 @@
import SwiftUI
@available(iOS 14.0, *)
struct UserSuggestionList: View {
private struct Constants {
static let topPadding: CGFloat = 8.0
@@ -76,7 +75,6 @@ struct UserSuggestionList: View {
}
}
@available(iOS 14.0, *)
private struct BackgroundView<Content: View>: View {
var content: () -> Content
@@ -100,7 +98,6 @@ private struct BackgroundView<Content: View>: View {
// MARK: - Previews
@available(iOS 14.0, *)
struct UserSuggestion_Previews: PreviewProvider {
static let stateRenderer = MockUserSuggestionScreenState.stateRenderer
static var previews: some View {
@@ -16,7 +16,6 @@
import SwiftUI
@available(iOS 14.0, *)
struct UserSuggestionListItem: View {
// MARK: - Properties
@@ -52,7 +51,6 @@ struct UserSuggestionListItem: View {
// MARK: - Previews
@available(iOS 14.0, *)
struct UserSuggestionHeader_Previews: PreviewProvider {
static var previews: some View {
UserSuggestionListItem(avatar: MockAvatarInput.example, displayName: "Alice", userId: "@alice:matrix.org")
@@ -16,13 +16,11 @@
import SwiftUI
@available(iOS 14.0, *)
struct UserSuggestionListWithInputViewModel {
let listViewModel: UserSuggestionViewModel
let callback: (String)->()
}
@available(iOS 14.0, *)
struct UserSuggestionListWithInput: View {
// MARK: - Properties
@@ -51,7 +49,6 @@ struct UserSuggestionListWithInput: View {
// MARK: - Previews
@available(iOS 14.0, *)
struct UserSuggestionListWithInput_Previews: PreviewProvider {
static let stateRenderer = MockUserSuggestionScreenState.stateRenderer
static var previews: some View {