mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-10-14 06:55:33 +00:00
Adding Observables class
This commit is contained in:
1 parent
bdc3560668
commit
f47674cdbb
5 files changed
+72
-9
No files matched your search
@@ -10,11 +10,13 @@ import SwiftUI
|
||||
@main
|
||||
struct DHBW_ServiceApp: App {
|
||||
let persistenceController = PersistenceController.shared
|
||||
let settings = LocalSettings()
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
.environment(\.managedObjectContext, persistenceController.context)
|
||||
.environmentObject(settings)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user