File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ public struct ButtonStateAction<Action> {
148148 ) -> ButtonStateAction < NewAction > {
149149 switch self . type {
150150 #if canImport(SwiftUI)
151- case . animatedSend( let action, animation : let animation) :
151+ case . animatedSend( let action, let animation) :
152152 return . send( transform ( action) , animation: animation)
153153 #endif
154154 case . send( let action) :
Original file line number Diff line number Diff line change @@ -104,9 +104,10 @@ func _observe(
104104
105105func _observe(
106106 _ apply: @escaping @Sendable ( _ transaction: UITransaction ) -> Void ,
107- task: @escaping @Sendable (
108- _ transaction: UITransaction , _ operation: @escaping @Sendable ( ) -> Void
109- ) -> Void
107+ task:
108+ @escaping @Sendable (
109+ _ transaction: UITransaction , _ operation: @escaping @Sendable ( ) -> Void
110+ ) -> Void
110111) -> ObserveToken {
111112 let token = ObserveToken ( )
112113 onChange (
@@ -138,9 +139,10 @@ func _observe(
138139
139140private func onChange(
140141 _ apply: @escaping @Sendable ( _ transaction: UITransaction ) -> Void ,
141- task: @escaping @Sendable (
142- _ transaction: UITransaction , _ operation: @escaping @Sendable ( ) -> Void
143- ) -> Void
142+ task:
143+ @escaping @Sendable (
144+ _ transaction: UITransaction , _ operation: @escaping @Sendable ( ) -> Void
145+ ) -> Void
144146) {
145147 withPerceptionTracking {
146148 apply ( . current)
You can’t perform that action at this time.
0 commit comments