From 1371d2d62e68264fdb55fb4b1497492711ffc8ee Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 6 Sep 2018 17:49:31 -0500 Subject: [PATCH] Removed flag check because it is passed as true even if the window isn't visible due to being minimized into the app icon. --- NetNewsWire/AppDelegate.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/NetNewsWire/AppDelegate.swift b/NetNewsWire/AppDelegate.swift index d89619ab1..5ef133f1f 100644 --- a/NetNewsWire/AppDelegate.swift +++ b/NetNewsWire/AppDelegate.swift @@ -155,10 +155,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, } func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool { - - if (!flag) { - createAndShowMainWindow() - } + createAndShowMainWindow() return false }