From 32ad6cab8d58d99ebd8a28e8fa6e6f4e587cb1e5 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 17 Mar 2026 23:19:43 -0500 Subject: v1.0 --- Hutch/App/HutchApp.swift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Hutch/App/HutchApp.swift (limited to 'Hutch/App/HutchApp.swift') diff --git a/Hutch/App/HutchApp.swift b/Hutch/App/HutchApp.swift new file mode 100644 index 0000000..fda0f06 --- /dev/null +++ b/Hutch/App/HutchApp.swift @@ -0,0 +1,20 @@ +import SwiftUI + +@main +struct HutchApp: App { + @State private var appState = AppState() + @State private var networkMonitor = NetworkMonitor() + + var body: some Scene { + WindowGroup { + RootView() + .environment(appState) + .environment(networkMonitor) + .onOpenURL { url in + if let link = DeepLink(url: url) { + appState.pendingDeepLink = link + } + } + } + } +} -- cgit v1.2.3