mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-29 06:56:46 -04:00
Fix lint
This commit is contained in:
parent
0ebf5313b3
commit
7be833cf26
@ -166,7 +166,7 @@ extension View {
|
|||||||
|
|
||||||
struct HostingWindowFinder: NSViewRepresentable {
|
struct HostingWindowFinder: NSViewRepresentable {
|
||||||
typealias NSViewType = NSView
|
typealias NSViewType = NSView
|
||||||
var callback: (NSWindow?) -> ()
|
var callback: (NSWindow?) -> Void
|
||||||
func makeNSView(context: Context) -> NSView {
|
func makeNSView(context: Context) -> NSView {
|
||||||
let view = NSView()
|
let view = NSView()
|
||||||
DispatchQueue.main.async { [weak view] in
|
DispatchQueue.main.async { [weak view] in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user