From 7be833cf26897d3a2879b6b439cbd6b74dd8262b Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Mon, 20 Nov 2023 00:29:25 +0100 Subject: [PATCH] Fix lint --- App/App_macOS.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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