You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG:PROD:System settings toggles use a custom switch instead of the shared Switch component #1668
The two toggles in the System settings card ("Launch at startup" and "Close to tray") in SystemSettingsCard.tsx are hand-built with <button role="switch"> and custom Tailwind classes (h-6 w-11, custom colors), instead of the shared Switch component (components/ui/switch, Radix-based, h-[1.15rem] w-8) that every other toggle in the app uses.
As a result, the System toggles look visually different (larger, different styling) from toggles in Albums dialogs, Metadata Export, User Preferences, and Folder Management, which all use the shared component.
Expected
All toggles should use the shared Switch component for a consistent look and behavior across the app.
Proposed fix
Replace the two custom <button role="switch"> toggles in SystemSettingsCard.tsx with <Switch>, preserving the existing autostart/close-to-tray logic and accessibility attributes (aria-labelledby / aria-describedby).
👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)
changed the title [-]BUG: System settings toggles use a custom switch instead of the shared Switch component[/-][+]BUG:PROD:System settings toggles use a custom switch instead of the shared Switch component[/+]on Oct 28, 2026
Activity
github-actions commentedon Oct 28, 2026
👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)
github-actions commentedon Oct 28, 2026
This issue appears semantically similar to the following issues in AOSSIE-Org/PictoPy:
BUG: Removing useless change mode popup window (BUG: Removing useless change mode popup window #1016, open)
BUG: Removing useless change mode popup window #1016
Similarity: 58.2%
Refactor Settings.tsx (Refactor Settings.tsx #509, closed)
Refactor Settings.tsx #509
Similarity: 55.5%
Please review before proceeding.
[-]BUG: System settings toggles use a custom switch instead of the shared Switch component[/-][+]BUG:PROD:System settings toggles use a custom switch instead of the shared Switch component[/+]