fix(security - ipc): do not expose sender

This commit is contained in:
V 2023-08-25 14:57:04 +02:00
parent 07c1f5eed1
commit c752be45b2
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A1DC0CFB5615D905

View file

@ -48,7 +48,7 @@ export default {
},
addThemeChangeListener(cb: () => void) {
ipcRenderer.on(IpcEvents.THEME_UPDATE, cb);
ipcRenderer.on(IpcEvents.THEME_UPDATE, () => cb());
},
openFile: () => invoke<void>(IpcEvents.OPEN_QUICKCSS),