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/Presentation/MapEditor.swift | |
| parent | 54f89bcd1a7fb0b92b65d8c0ea3847d635e11133 (diff) | |
Use templates in file menu
Diffstat (limited to 'Map/Presentation/MapEditor.swift')
| -rw-r--r-- | Map/Presentation/MapEditor.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Map/Presentation/MapEditor.swift b/Map/Presentation/MapEditor.swift index 5005a73..fe10427 100644 --- a/Map/Presentation/MapEditor.swift +++ b/Map/Presentation/MapEditor.swift @@ -182,5 +182,5 @@ struct MapEditor: View { } #Preview { - MapEditor(document: .constant(MapDocument()), url: URL(filePath: "test.wmap")!) + MapEditor(document: .constant(MapDocument(text: nil)), url: URL(filePath: "test.wmap")!) } |