mirror of
https://github.com/yattee/yattee.git
synced 2025-08-04 09:44:12 +00:00
Bring back iOS 14 and macOS 11
This commit is contained in:
2
Vendor/RefreshControl/RefreshControl.swift
vendored
2
Vendor/RefreshControl/RefreshControl.swift
vendored
@@ -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
|
||||
}
|
||||
|
||||
|
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user