This commit is contained in:
Vendicated
2023-04-10 19:18:00 +02:00
parent c0598821ee
commit 90b8c5fdfe
2 changed files with 4 additions and 11 deletions

View File

@@ -215,10 +215,8 @@ function initWindowBoundsListeners(win: BrowserWindow) {
function initSettingsListeners(win: BrowserWindow) {
Settings.addChangeListener("tray", enable => {
if (enable)
initTray(win);
else
tray?.destroy();
if (enable) initTray(win);
else tray?.destroy();
});
Settings.addChangeListener("disableMinSize", disable => {
if (disable) {