From 43e59e184f3941d02963d85fa5aeeb514fa4f22a Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Tue, 28 Oct 2025 10:19:09 -0700 Subject: Remove old CloudKit code. --- Hotline/MacApp.swift | 19 ------------------- 1 file changed, 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() -- cgit