diff --git a/src/ts/index.ts b/src/ts/index.ts index 861008f..aba80b1 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -40,8 +40,8 @@ $(() => { ipcRenderer.on('rpc-toggle', () => { DiscordRPC.isActive() ? - DiscordRPC.init() : - DiscordRPC.close(); + DiscordRPC.close() : + DiscordRPC.init(); }); // FIXME