mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Merge pull request #664 from sel10ut/bugfix/fix-minimize-setting
Fix minimize to tray setting toggle
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user