aboutsummaryrefslogtreecommitdiff
path: root/Map/Views/ContentView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Views/ContentView.swift')
-rw-r--r--Map/Views/ContentView.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Map/Views/ContentView.swift b/Map/Views/ContentView.swift
index 4f55c27..cf1f145 100644
--- a/Map/Views/ContentView.swift
+++ b/Map/Views/ContentView.swift
@@ -11,6 +11,8 @@ import SwiftUI
struct ContentView: View {
@Environment(\.managedObjectContext) private var viewContext
+ @EnvironmentObject var store: AppStore
+
@FetchRequest(
sortDescriptors: [NSSortDescriptor(keyPath: \Map.createdAt, ascending: true)],
animation: .default)