aboutsummaryrefslogtreecommitdiff
path: root/Map/MapApp.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/MapApp.swift')
-rw-r--r--Map/MapApp.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Map/MapApp.swift b/Map/MapApp.swift
index 08edcb4..54eb9be 100644
--- a/Map/MapApp.swift
+++ b/Map/MapApp.swift
@@ -22,7 +22,7 @@ struct MapApp: App {
startingUpdater: true, updaterDelegate: nil, userDriverDelegate: nil)
var body: some Scene {
- DocumentGroup(newDocument: MapDocument()) { file in
+ DocumentGroup(newDocument: MapDocument(text: nil)) { file in
MapEditor(document: file.$document, url: file.fileURL)
.focusedSceneValue(\.document, file.$document)
.focusedSceneValue(\.fileURL, file.fileURL)