style(dvk): show the DATA-input option only where it does something
Only Kenwood implements it — TX1 is that family's second transmit command — and every other backend keys the one way it knows. A checkbox offered to all of them would change nothing on most, which is the same dead furniture as ANT2 on a radio with one socket. Gated on the Kenwood backend, and the label says so.
This commit is contained in:
@@ -7251,7 +7251,12 @@ function SettingsModalImpl({ onClose, onSaved, initialSection, onMainPaneChanged
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
{audioCfg.ptt_method === 'cat' && (
|
||||
{/* Kenwood only, because only a Kenwood acts on it: TX1 is that
|
||||
family's second transmit command. Every other backend keys the
|
||||
one way it knows, so showing the box there would be a switch
|
||||
that changes nothing — the same dead furniture as ANT2 on a
|
||||
radio with one socket. */}
|
||||
{audioCfg.ptt_method === 'cat' && catCfg.backend === 'kenwood' && (
|
||||
<>
|
||||
<span />
|
||||
<label className="flex items-start gap-2 text-sm cursor-pointer" title={t('aud.pttDataHint')}>
|
||||
|
||||
Reference in New Issue
Block a user