some fixes to minimize to tray

This commit is contained in:
vapormusic 2022-01-30 22:34:24 +07:00
parent 277e359aa9
commit 9c83baa0a8
3 changed files with 18 additions and 21 deletions

View file

@ -762,7 +762,9 @@
app.chrome.hideUserInfo = !app.cfg.visual.showuserinfo
},
sendDataToMTT: function () {
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
// setStoreValue does not change plugin store values somehow
ipcRenderer.invoke('update-store-mtt', app.cfg.general.close_behavior);
}
}
})