diff options
| author | Dustin Mierau <dustin@mierau.me> | 2025-10-28 10:19:09 -0700 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2025-10-28 10:19:09 -0700 |
| commit | 43e59e184f3941d02963d85fa5aeeb514fa4f22a (patch) | |
| tree | f3272ba38183659d06ef2858b281b7de5830384a /Hotline | |
| parent | 8fdad8745921ea0bc43a9efd2beafc1a1ce3142b (diff) | |
Remove old CloudKit code.
Diffstat (limited to 'Hotline')
| -rw-r--r-- | Hotline/MacApp.swift | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Hotline/MacApp.swift b/Hotline/MacApp.swift index 89db36e..44ca308 100644 --- a/Hotline/MacApp.swift +++ b/Hotline/MacApp.swift @@ -42,25 +42,6 @@ class AppDelegate: NSObject, NSApplicationDelegate { } } } - -// if FileManager.default.ubiquityIdentityToken == nil { -// print("iCloud Unavailable") -// -// // We mark CloudKit has available now since we're not waiting on -// // a server sync or anything. -// AppState.shared.cloudKitReady = true -// } -// else { -// print("iCloud Available") -// -// self.cloudKitObserverToken = NotificationCenter.default.addObserver(forName: NSPersistentCloudKitContainer.eventChangedNotification, object: nil, queue: OperationQueue.main) { [weak self] note in -// print("iCloud Changed!") -// AppState.shared.cloudKitReady = true -// -// guard let token = self?.cloudKitObserverToken else { return } -// NotificationCenter.default.removeObserver(token) -// } -// } Task { await AppUpdate.shared.checkForUpdatesOnLaunch() |