Skip to content

Commit

Permalink
Correct use of applicationShouldHandleReopen
Browse files Browse the repository at this point in the history
PR fix for WireGuard#16
  • Loading branch information
sebastianlivoni committed Jul 1, 2023
1 parent 4fd114b commit 5136017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WireGuardApp/UI/macOS/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}

func applicationShouldHandleReopen(_: NSApplication, hasVisibleWindows _: Bool) -> Bool {
self?.showManageTunnelsWindow(completion: nil)
self.showManageTunnelsWindow(completion: nil)
return true
}

Expand Down

0 comments on commit 5136017

Please sign in to comment.