We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b4df27 commit f40b37aCopy full SHA for f40b37a
1 file changed
ScrollEdgeControl/Core/ScrollEdgeControl.swift
@@ -16,7 +16,7 @@ public protocol ScrollEdgeActivityIndicatorViewType: UIView {
16
public final class ScrollEdgeControl: UIControl {
17
18
public struct Handlers {
19
- public var onDidBeginRefreshing: (ScrollEdgeControl) -> Void = { _ in }
+ public var onDidActivate: (ScrollEdgeControl) -> Void = { _ in }
20
}
21
22
/**
@@ -517,7 +517,7 @@ public final class ScrollEdgeControl: UIControl {
517
DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) { [weak self] in
518
guard let self = self else { return }
519
self.sendActions(for: .valueChanged)
520
- self.handlers.onDidBeginRefreshing(self)
+ self.handlers.onDidActivate(self)
521
522
523
feedbackGenerator.impactOccurred()
0 commit comments