aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/Switch.qml
AgeCommit message (Collapse)AuthorFilesLines
3 daysSwitch: never set checked itself, report the new state insteadDanilo M.1-2/+5
The shared Switch flipped its own checked on click, which replaced the caller's binding with a constant. Every use binds checked, so after a click the switch stopped following its source: Discard on a settings draft reverted the value and left the switch showing the click. Four status rows and the headphones panel each carried a resync workaround for it. toggled now carries the new state and the switch moves only when the caller's binding does. Handlers that read checked as the new value take the argument instead; the workarounds are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-14feat(desktop): a theme-coloured SwitchDanilo M.1-0/+47