diff --git a/App/App_macOS.swift b/App/App_macOS.swift index 7fcc0eca..526af25a 100644 --- a/App/App_macOS.swift +++ b/App/App_macOS.swift @@ -166,7 +166,7 @@ extension View { struct HostingWindowFinder: NSViewRepresentable { typealias NSViewType = NSView - var callback: (NSWindow?) -> () + var callback: (NSWindow?) -> Void func makeNSView(context: Context) -> NSView { let view = NSView() DispatchQueue.main.async { [weak view] in