-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevLogApp.swift
More file actions
29 lines (25 loc) · 758 Bytes
/
DevLogApp.swift
File metadata and controls
29 lines (25 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// DevLogApp.swift
// DevLog
//
// Created by opfic on 5/2/25.
//
import SwiftUI
@main
struct DevLogApp: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) var delegate
@Environment(\.diContainer) var container: DIContainer
init() {
AppAssembler().assemble(AppDIContainer.shared)
}
var body: some Scene {
WindowGroup {
RootView(viewModel: RootViewModel(
sessionUseCase: container.resolve(ObserveAuthSessionUseCase.self),
networkConnectivityUseCase: container.resolve(ObserveNetworkConnectivityUseCase.self),
systemThemeUseCase: container.resolve(ObserveSystemThemeUseCase.self)
))
.autocorrectionDisabled()
}
}
}