From 6b9e775d06dc93c82d15214c3aa74b8f87636e28 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 11 Apr 2022 08:22:22 +0800 Subject: [PATCH] AppDelegate @ Installer // SwiftLint. --- Installer/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installer/AppDelegate.swift b/Installer/AppDelegate.swift index 996d9688..2298efc1 100644 --- a/Installer/AppDelegate.swift +++ b/Installer/AppDelegate.swift @@ -321,7 +321,7 @@ class AppDelegate: NSWindowController, NSApplicationDelegate { ntfPostInstall.addButton(withTitle: NSLocalizedString("OK", comment: "")) } } - ntfPostInstall.beginSheetModal(for: window!) { response in + ntfPostInstall.beginSheetModal(for: window!) { _ in self.endAppWithDelay() } }