From 37f12638b82a59f91e5c5aaef48959bc076583dd Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 12 Dec 2025 11:33:42 +0100 Subject: [PATCH] Remove redundant theme change event emission in main.js --- main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.js b/main.js index 948700e..9c4763b 100755 --- a/main.js +++ b/main.js @@ -2199,7 +2199,6 @@ function buildTrayMenu() { store.set('skymode', theme === 'sky'); BrowserWindow.getAllWindows().forEach(win => { win.webContents.send('theme-changed', theme); - win.webContents.send('skymode-changed', theme === 'sky'); }); }); // Legacy SkyMode handlers @@ -2209,7 +2208,6 @@ function buildTrayMenu() { store.set('theme', theme); store.set('skymode', !!val); BrowserWindow.getAllWindows().forEach(win => { - win.webContents.send('theme-changed', theme); win.webContents.send('skymode-changed', !!val); }); });