Skip to content

Commit f4cf5ef

Browse files
committed
remove an additional, no longer needed MainActor
Signed-off-by: furby™ <devs@wabi.foundation>
1 parent f377e83 commit f4cf5ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/AppKitBackend/NSViewRepresentable.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public protocol NSViewRepresentable: View where Content == Never {
4444
///
4545
/// The default implementation uses `nsView.intrinsicContentSize` and `nsView.sizeThatFits(_:)`
4646
/// to determine the return value.
47-
@MainActor
4847
func determineViewSize(
4948
for proposal: SIMD2<Int>, nsView: NSViewType,
5049
context: NSViewRepresentableContext<Coordinator>
@@ -131,7 +130,6 @@ extension View where Self: NSViewRepresentable {
131130
}
132131
}
133132

134-
@MainActor
135133
public func update<Backend: AppBackend>(
136134
_ widget: Backend.Widget,
137135
children _: any ViewGraphNodeChildren,

0 commit comments

Comments
 (0)