Fix up concurrency warnings #25
Annotations
2 errors and 1 warning
Test:
Sources/WindowTreatment/Modifiers/WindowStateObservingModifier.swift#L35
call to main actor-isolated initializer 'init()' in a synchronous nonisolated context
|
Test
Process completed with exit code 65.
|
Test:
Sources/WindowTreatment/WindowStateObservingView.swift#L21
main actor-isolated default value in a nonisolated context; this is an error in Swift 6
|