style(desktop): drop redundant On/Off label next to boolean config switches

The switch already communicates state, so the text label was noise.
This commit is contained in:
Brooklyn Nicholson 2026-06-03 22:15:55 -05:00
parent 41ede96304
commit 947f305f84
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ function ConfigField({
if (schema.type === 'boolean') {
return row(
<div className="flex items-center justify-end gap-3">
<span className="text-xs text-muted-foreground">{value ? 'On' : 'Off'}</span>
<div className="flex items-center justify-end">
<Switch checked={Boolean(value)} onCheckedChange={onChange} />
</div>
)