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

This commit is contained in:
2026-08-15 20:31:11 +01:00
parent eeb6dc2564
commit 78e1c158aa
@@ -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 {