diff --git a/src/VencordNative.ts b/src/VencordNative.ts index 58f553cf..4f8638bc 100644 --- a/src/VencordNative.ts +++ b/src/VencordNative.ts @@ -48,7 +48,7 @@ export default { }, addThemeChangeListener(cb: () => void) { - ipcRenderer.on(IpcEvents.THEME_UPDATE, cb); + ipcRenderer.on(IpcEvents.THEME_UPDATE, () => cb()); }, openFile: () => invoke(IpcEvents.OPEN_QUICKCSS),