diff --git a/Sources/WireGuardApp/UI/macOS/AppDelegate.swift b/Sources/WireGuardApp/UI/macOS/AppDelegate.swift index fd21211a7..7c8c2081b 100644 --- a/Sources/WireGuardApp/UI/macOS/AppDelegate.swift +++ b/Sources/WireGuardApp/UI/macOS/AppDelegate.swift @@ -152,7 +152,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { } func applicationShouldHandleReopen(_: NSApplication, hasVisibleWindows _: Bool) -> Bool { - self?.showManageTunnelsWindow(completion: nil) + self.showManageTunnelsWindow(completion: nil) return true }