From b37bba9be4935527fbc2970115c2a46709d38c4f Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 20:14:41 +0200 Subject: [PATCH] Fix Discord RPC --- src/ts/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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