Skip to content

Commit

Permalink
Fixing build for Swift 5.9 and Swift 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean151 committed Dec 23, 2024
1 parent 4a6e2bf commit 28f885f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/ButtonKit/Modifiers/Button+AsyncTask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ struct OnAsyncButtonTaskChangeModifier: ViewModifier {
}
}

@MainActor
func onTaskChanged(_ state: AsyncButtonState) {
switch state {
case .started(let task):
Expand Down

0 comments on commit 28f885f

Please sign in to comment.