Mercurial > public > simoleon
diff Simoleon/ContentView.swift @ 177:a1443bd115d9
add icloud capability
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 26 Oct 2021 13:18:51 +0200 |
parents | ad8c6567539d |
children | 7c4a789e51ba |
line wrap: on
line diff
--- a/Simoleon/ContentView.swift Tue Oct 26 13:17:07 2021 +0200 +++ b/Simoleon/ContentView.swift Tue Oct 26 13:18:51 2021 +0200 @@ -6,7 +6,6 @@ // import SwiftUI -import CoreData struct ContentView: View { var body: some View { @@ -16,6 +15,7 @@ struct ContentView_Previews: PreviewProvider { static var previews: some View { - ContentView().environment(\.managedObjectContext, PersistenceController.preview.container.viewContext) + ContentView() + .environment(\.managedObjectContext, PersistenceController.preview.container.viewContext) } }