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: (
<Switch
aria-label="Toggle minimize to tray"
defaultChecked={settings.exitToTray}
defaultChecked={settings.minimizeToTray}
disabled={!isElectron()}
onChange={(e) => {
if (!e) return;