diff options
-rw-r--r-- | src/VencordNative.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts index 58f553c..4f8638b 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<void>(IpcEvents.OPEN_QUICKCSS), |