Merge pull request #664 from sel10ut/bugfix/fix-minimize-setting

Fix minimize to tray setting toggle
This commit is contained in:
Jeff 2024-07-14 02:53:48 -07:00 committed by GitHub
commit ed8e5e69ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ export const WindowSettings = () => {
control: ( control: (
<Switch <Switch
aria-label="Toggle minimize to tray" aria-label="Toggle minimize to tray"
defaultChecked={settings.exitToTray} defaultChecked={settings.minimizeToTray}
disabled={!isElectron()} disabled={!isElectron()}
onChange={(e) => { onChange={(e) => {
if (!e) return; if (!e) return;