We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4bf627 commit 6fff632Copy full SHA for 6fff632
Sources/FluidInterfaceKit/Helper/UIBarButtonItem+.swift
@@ -44,7 +44,7 @@ extension UIBarButtonItem {
44
45
private var _onTapClosure: (@MainActor () -> Void)? {
46
get {
47
- objc_getAssociatedObject(self, &ref) as? () -> Void
+ objc_getAssociatedObject(self, &ref) as? (@MainActor () -> Void)
48
}
49
set {
50
objc_setAssociatedObject(self, &ref, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
0 commit comments