From 6926feead1a7fadb7f5f974996bef8c30b3bfdbe Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 9 Jul 2025 01:55:50 +0200 Subject: Use AST based text editor --- Map/Presentation/Preferences/EditorPreferencesView.swift | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Map/Presentation/Preferences/EditorPreferencesView.swift') diff --git a/Map/Presentation/Preferences/EditorPreferencesView.swift b/Map/Presentation/Preferences/EditorPreferencesView.swift index 91b332f..23359b2 100644 --- a/Map/Presentation/Preferences/EditorPreferencesView.swift +++ b/Map/Presentation/Preferences/EditorPreferencesView.swift @@ -98,25 +98,19 @@ struct EditorPreferencesView: View { .frame(maxWidth: .infinity, alignment: .leading) } - /* - - Disabled because we haven't written the smart editor yet. - Call it aspirational preferences. - Divider() - + HStack(alignment: .firstTextBaseline, spacing: Dimensions.Spacing.regular) { Text("preferences.editor.smart_editor.title") .font(.Theme.Body.emphasized) .frame(maxWidth: 250, alignment: .trailing) - + VStack(alignment: .leading, spacing: Dimensions.Spacing.cozy) { Toggle( String(localized: "preferences.editor.smart_editor.enabled"), isOn: $useSmartEditor) } .frame(maxWidth: .infinity, alignment: .leading) } - */ Spacer() }.padding(.vertical, Dimensions.Spacing.loose) -- cgit