diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-09 01:55:50 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-09 01:55:50 +0200 |
| commit | 6926feead1a7fadb7f5f974996bef8c30b3bfdbe (patch) | |
| tree | 5a16e64f70bea3b9f33220cce5ca524e686dbedf /Map/Presentation/Preferences/EditorPreferencesView.swift | |
| parent | c21a68c807dcb84b4ce910ee0f73238a8019ffe9 (diff) | |
Use AST based text editor
Diffstat (limited to 'Map/Presentation/Preferences/EditorPreferencesView.swift')
| -rw-r--r-- | Map/Presentation/Preferences/EditorPreferencesView.swift | 10 |
1 files changed, 2 insertions, 8 deletions
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) |