aboutsummaryrefslogtreecommitdiff
path: root/Hotline
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2025-10-28 10:19:09 -0700
committerDustin Mierau <dustin@mierau.me>2025-10-28 10:19:09 -0700
commit43e59e184f3941d02963d85fa5aeeb514fa4f22a (patch)
treef3272ba38183659d06ef2858b281b7de5830384a /Hotline
parent8fdad8745921ea0bc43a9efd2beafc1a1ce3142b (diff)
Remove old CloudKit code.
Diffstat (limited to 'Hotline')
-rw-r--r--Hotline/MacApp.swift19
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()