Bring back iOS 14 and macOS 11

This commit is contained in:
Arkadiusz Fal
2023-10-15 13:46:30 +02:00
parent 94915b0496
commit 8258d8d5b4
7 changed files with 284 additions and 58 deletions

View File

@@ -21,7 +21,7 @@ final class RefreshControl: ObservableObject {
let onValueChanged: (_ refreshControl: UIRefreshControl) -> Void
internal init(onValueChanged: @escaping ((UIRefreshControl) -> Void)) {
init(onValueChanged: @escaping ((UIRefreshControl) -> Void)) {
self.onValueChanged = onValueChanged
}

View File

@@ -12,7 +12,7 @@ struct RefreshControlModifier: ViewModifier {
@State private var geometryReaderFrame: CGRect = .zero
let refreshControl: RefreshControl
internal init(onValueChanged: @escaping (UIRefreshControl) -> Void) {
init(onValueChanged: @escaping (UIRefreshControl) -> Void) {
refreshControl = RefreshControl(onValueChanged: onValueChanged)
}