From 25776ce0c3b08a9b854823ba4a528209c3341ccc Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 23 Feb 2024 21:40:41 -0800 Subject: [PATCH] Make AppDelegate a final class. --- Mac/AppDelegate.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 19b87ccac..212f0a655 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -30,8 +30,7 @@ import Sparkle var appDelegate: AppDelegate! @NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, UNUserNotificationCenterDelegate, UnreadCountProvider, SPUStandardUserDriverDelegate, SPUUpdaterDelegate -{ +final class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, UNUserNotificationCenterDelegate, UnreadCountProvider, SPUStandardUserDriverDelegate, SPUUpdaterDelegate { private struct WindowRestorationIdentifiers { static let mainWindow = "mainWindow"