diff --git a/Cork/App State.swift b/Cork/App State.swift index bf631ab0..8c9ba154 100644 --- a/Cork/App State.swift +++ b/Cork/App State.swift @@ -8,24 +8,24 @@ import AppKit import CorkNotifications import CorkShared +import FactoryKit import Foundation import Observation @preconcurrency import UserNotifications -import FactoryKit +/* extension Container { @MainActor var appState: Factory { - self { - MainActor.assumeIsolated - { - AppState() - } + self + { @MainActor in + AppState() } } } + */ /// Class that holds the global state of the app, excluding services @Observable @MainActor