Skip to content

Commit

Permalink
make ValidationState.Binding.binding MainActor-constrained
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskollmer committed Jan 11, 2025
1 parent 0a621fa commit ca58b68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension ValidationState {
/// A binding to a ``ValidationState``.
@propertyWrapper
public struct Binding: Sendable {
private let binding: SwiftUI.Binding<ValidationContext>
@MainActor private let binding: SwiftUI.Binding<ValidationContext>

/// The validation context.
public var wrappedValue: ValidationContext {
Expand Down

0 comments on commit ca58b68

Please sign in to comment.