diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-06 12:53:24 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-06 12:53:24 +0200 |
| commit | f4edef273e4501a28cac7cb43fa7ad6f224fcb4a (patch) | |
| tree | 9bbe13e1af4d3e235d46345de1dd74989bf1d0b0 /Map/MapApp.swift | |
| parent | 54f89bcd1a7fb0b92b65d8c0ea3847d635e11133 (diff) | |
Use templates in file menu
Diffstat (limited to 'Map/MapApp.swift')
| -rw-r--r-- | Map/MapApp.swift | 2 |
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) |