From 8a123a0734dbf1c0e64528dca07b49d7e6ab6bf5 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 1 Feb 2025 17:56:34 -0800 Subject: [PATCH] Remove no-longer-needed global appDelegate variable. --- iOS/AppDelegate.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index aa72025a7..c38b35ffc 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -15,8 +15,6 @@ import os import Secrets import WidgetKit -var appDelegate: AppDelegate! - @UIApplicationMain final class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, UnreadCountProvider { @@ -61,7 +59,6 @@ final class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationC override init() { super.init() - appDelegate = self let documentFolder = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first! let documentAccountsFolder = documentFolder.appendingPathComponent("Accounts").absoluteString