mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-07-13 00:02:43 +02:00
refactor: clean up persistence related code
This commit is contained in:
@@ -12,7 +12,7 @@ struct MemolaApp: App {
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
MemosView()
|
||||
.environment(\.managedObjectContext, Persistence.context)
|
||||
.persistence(\.viewContext)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user