Closed jxhug closed 8 months ago
I don't think this is a problem with Defaults. It is correctly marked as @MainActor
, but that annotation only works when called from a concurrency context. So somewhere you are calling it from a non-main-actor context.
When using Defaults, I get this error in the SwiftUI file.
it's on line 16:
I am using the main branch for the dependency rule.