From bc27a4d25a21d17296ade019298c90c63a2d74ec Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Thu, 17 Feb 2022 00:14:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20Cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phpmon/Domain/App/AppDelegate.swift | 18 ------------------ phpmon/Domain/App/Base.lproj/Main.storyboard | 16 ++++++++-------- phpmon/Domain/Notice/BetterAlert.swift | 1 + phpmon/Domain/Notice/BetterAlertVC.swift | 1 + 4 files changed, 10 insertions(+), 26 deletions(-) diff --git a/phpmon/Domain/App/AppDelegate.swift b/phpmon/Domain/App/AppDelegate.swift index dee3c01..1b1f329 100644 --- a/phpmon/Domain/App/AppDelegate.swift +++ b/phpmon/Domain/App/AppDelegate.swift @@ -88,24 +88,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele startup procedure. */ func applicationDidFinishLaunching(_ aNotification: Notification) { - /* - let notice = Notice.make() - .withInformation( - title: "Oh no, your PHP is kaput?!", - subtitle: "Unfortunately, PHP Monitor has detected an issue. You can find more info below." - // description: "brew install php@8.0 has returned error code -35" - ) - .withPrimary(text: "Retry") - .withSecondary(text: "Quit", action: { _ in - exit(1) - }) - .withTertiary(text: "Copy to Clipboard", action: { _ in - // Do something here - }) - - print(notice.present() == .alertFirstButtonReturn) - */ - // Make sure notifications will work setupNotifications() // Make sure the menu performs its initial checks diff --git a/phpmon/Domain/App/Base.lproj/Main.storyboard b/phpmon/Domain/App/Base.lproj/Main.storyboard index 6068370..be2b676 100644 --- a/phpmon/Domain/App/Base.lproj/Main.storyboard +++ b/phpmon/Domain/App/Base.lproj/Main.storyboard @@ -493,18 +493,18 @@ - + - - + +