From ca58b683d3db42b6fb3d0a14da49306e3b5e6c96 Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Sat, 11 Jan 2025 21:27:29 +0100 Subject: [PATCH] make ValidationState.Binding.binding MainActor-constrained --- Sources/SpeziValidation/ValidationState/ValidationState.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SpeziValidation/ValidationState/ValidationState.swift b/Sources/SpeziValidation/ValidationState/ValidationState.swift index 87b0be2..65c3b6f 100644 --- a/Sources/SpeziValidation/ValidationState/ValidationState.swift +++ b/Sources/SpeziValidation/ValidationState/ValidationState.swift @@ -68,7 +68,7 @@ extension ValidationState { /// A binding to a ``ValidationState``. @propertyWrapper public struct Binding: Sendable { - private let binding: SwiftUI.Binding + @MainActor private let binding: SwiftUI.Binding /// The validation context. public var wrappedValue: ValidationContext {