fix(settings): set proper default minimize to tray check

This commit is contained in:
sel10ut 2024-07-04 13:29:47 +03:00
parent fb930f1197
commit 582739a091
No known key found for this signature in database
GPG key ID: D0B72B1CF829F342

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;