aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Preferences/EditorPreferencesView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Presentation/Preferences/EditorPreferencesView.swift')
-rw-r--r--Map/Presentation/Preferences/EditorPreferencesView.swift10
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)