]> git.r.bdr.sh - rbdr/map/blob - Map/Presentation/Screens/EmptyMapDetailScreen.swift
f3c6d755a30a3793b7d50a2207ae73ea42cd0e02
[rbdr/map] / Map / Presentation / Screens / EmptyMapDetailScreen.swift
1 import CoreData
2 import SwiftUI
3
4 struct EmptyMapDetailScreen: View {
5
6 var body: some View {
7 Text("Select a map from the left hand side, or click on + to create one.")
8 }
9 }
10
11 struct DefaultMapView_Previews: PreviewProvider {
12 static var previews: some View {
13 EmptyMapDetailScreen().environment(
14 \.managedObjectContext, PersistenceController.preview.container.viewContext)
15 }
16 }