Initial commit
This commit is contained in:
@ -9,9 +9,12 @@ import SwiftUI
|
||||
|
||||
@main
|
||||
struct WhiteNightsApp: App {
|
||||
@StateObject private var appState = AppState()
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
.environmentObject(appState) // <- обязательно!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user