feat(settings): Preferences smart-text-replacements toggle

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 20:31:11 +01:00
co-authored by Claude Sonnet 5
parent 218da50769
commit ead3fb4365
@@ -286,6 +286,13 @@ struct SettingsView: View {
isOn: session.userPreferences?.rememberLastPath ?? false,
onChange: { newValue in Task { await savePreference { $0.rememberLastPath = newValue } } }
)
Divider()
preferenceToggleRow(
"Smart text replacements",
description: "Auto-format text by replacing shortcuts with symbols, dashes, smart quotes, and other typographical elements.",
isOn: session.userPreferences?.smartText ?? false,
onChange: { newValue in Task { await savePreference { $0.smartText = newValue } } }
)
}
if let preferencesErrorMessage {