// // PocheApp.swift // Poche // // Author: Simon-Pierre Boucher // Contact: contact@spboucher.ai // import SwiftUI import SwiftData @main struct PocheApp: App { @State private var dependencies = AppDependencies(container: PocheContainer.shared) var body: some Scene { WindowGroup { RootView() .environment(dependencies) .task { // Content shared into Poche from other apps (Share // Extension) lands in the group inbox; import it as notes. dependencies.store.importSharedInbox() } } .modelContainer(PocheContainer.shared) } }