fix(security - ipc): do not expose sender
This commit is contained in:
parent
07c1f5eed1
commit
c752be45b2
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue