diff options
Diffstat (limited to 'Map/Data/MapDocument.swift')
| -rw-r--r-- | Map/Data/MapDocument.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Map/Data/MapDocument.swift b/Map/Data/MapDocument.swift index 813b81d..df77abf 100644 --- a/Map/Data/MapDocument.swift +++ b/Map/Data/MapDocument.swift @@ -30,8 +30,7 @@ struct MapDocument: FileDocument { self.text = pendingContent } else if let templatesData = UserDefaults.standard.data(forKey: "mapTemplates"), let templates = try? JSONDecoder().decode([Template].self, from: templatesData), - let defaultTemplate = templates.first(where: { $0.isDefault }) - { + let defaultTemplate = templates.first(where: { $0.isDefault }) { self.text = defaultTemplate.content } else { self.text = String(localized: "map_template.default.content") |