From f4edef273e4501a28cac7cb43fa7ad6f224fcb4a Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 6 Jul 2025 12:53:24 +0200 Subject: Use templates in file menu --- Map/Presentation/MapEditor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Map/Presentation/MapEditor.swift') 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")!) } -- cgit