From 3cca7e9f25166c995a9b9b7bca5beb20be969ac7 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 8 Jul 2025 10:58:56 +0200 Subject: Comment out unused preferences --- Map/Presentation/Preferences/EditorPreferencesView.swift | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Map/Presentation/Preferences/EditorPreferencesView.swift') diff --git a/Map/Presentation/Preferences/EditorPreferencesView.swift b/Map/Presentation/Preferences/EditorPreferencesView.swift index 3d456c9..cf584ff 100644 --- a/Map/Presentation/Preferences/EditorPreferencesView.swift +++ b/Map/Presentation/Preferences/EditorPreferencesView.swift @@ -95,19 +95,25 @@ 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