Skip to content

Commit

Permalink
Merge pull request #8 from noppefoxwolf/feature/enabled-global-concur…
Browse files Browse the repository at this point in the history
…rency

Fix unsafe concurrency property
  • Loading branch information
Kyome22 authored May 21, 2024
2 parents 371166b + 6249331 commit 0117969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ let package = Package(
],
swiftSettings: [
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("StrictConcurrency")
.enableUpcomingFeature("GlobalConcurrency"),
.enableUpcomingFeature("StrictConcurrency"),
]
),
.testTarget(
Expand Down
2 changes: 1 addition & 1 deletion Sources/WebUI/SetUpWebViewProxyAction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct SetUpWebViewProxyAction {
}

private struct SetUpWebViewProxyActionKey: EnvironmentKey {
static var defaultValue = SetUpWebViewProxyAction(action: { _ in })
static let defaultValue = SetUpWebViewProxyAction(action: { _ in })
}

extension EnvironmentValues {
Expand Down

0 comments on commit 0117969

Please sign in to comment.