style(settings): drop the verbose CW Keyer explanations (Flex/Icom notes, ESM hint)

They took vertical space in the CW Keyer panel for text operators already know.
Kept the actionable CAT-backend mismatch warnings and the checkbox labels.
This commit is contained in:
2026-07-25 13:05:42 +02:00
parent 370fde42f7
commit 6be0f43dd0
+3 -12
View File
@@ -3106,20 +3106,14 @@ export function SettingsModal({ onClose, onSaved, initialSection, onMainPaneChan
<Checkbox checked={wk.esc_clears_call} onCheckedChange={(c) => setWkField({ esc_clears_call: !!c })} />
{t('wk.escClears')}
</label>
<label className="flex items-start gap-2 text-sm cursor-pointer col-span-3 pb-1.5">
<Checkbox checked={wk.esm} onCheckedChange={(c) => setWkField({ esm: !!c })} className="mt-0.5" />
<span>
{t('wk.esm')}
<span className="block text-xs text-muted-foreground">{t('wk.esmHint')}</span>
</span>
<label className="flex items-center gap-2 text-sm cursor-pointer col-span-3 pb-1.5">
<Checkbox checked={wk.esm} onCheckedChange={(c) => setWkField({ esm: !!c })} />
{t('wk.esm')}
</label>
</div>
{wk.engine === 'icom' ? (
<>
<p className="text-xs text-muted-foreground -mt-2">
{t('wk.icomNote')}
</p>
{(!catCfg.enabled || catCfg.backend !== 'icom') && (
<p className="text-xs font-medium text-warning -mt-1 flex items-start gap-1.5">
<span aria-hidden></span>
@@ -3135,9 +3129,6 @@ export function SettingsModal({ onClose, onSaved, initialSection, onMainPaneChan
</>
) : wk.engine === 'flex' ? (
<>
<p className="text-xs text-muted-foreground -mt-2">
{t('wk.flexNote')}
</p>
{(!catCfg.enabled || catCfg.backend !== 'flex') && (
<p className="text-xs font-medium text-warning -mt-1 flex items-start gap-1.5">
<span aria-hidden></span>