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