Skip to content

Commit 5136017

Browse files
Correct use of applicationShouldHandleReopen
PR fix for WireGuard#16
1 parent 4fd114b commit 5136017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WireGuardApp/UI/macOS/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
152152
}
153153

154154
func applicationShouldHandleReopen(_: NSApplication, hasVisibleWindows _: Bool) -> Bool {
155-
self?.showManageTunnelsWindow(completion: nil)
155+
self.showManageTunnelsWindow(completion: nil)
156156
return true
157157
}
158158

0 commit comments

Comments
 (0)