Fix Discord RPC

This commit is contained in:
Maroxy 2021-10-24 20:14:41 +02:00
parent 7baef05f26
commit b37bba9be4

View file

@ -40,8 +40,8 @@ $(() => {
ipcRenderer.on('rpc-toggle', () => { ipcRenderer.on('rpc-toggle', () => {
DiscordRPC.isActive() ? DiscordRPC.isActive() ?
DiscordRPC.init() : DiscordRPC.close() :
DiscordRPC.close(); DiscordRPC.init();
}); });
// FIXME // FIXME