From 285c1bca31cf3345be372874d76ad47a77978916 Mon Sep 17 00:00:00 2001 From: Oj Date: Mon, 27 Dec 2021 20:10:06 +0000 Subject: [PATCH] [Splash] Fix themeSync config not being used properly --- src/splash/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/splash/preload.js b/src/splash/preload.js index 561acb1..0761b63 100644 --- a/src/splash/preload.js +++ b/src/splash/preload.js @@ -28,7 +28,7 @@ contextBridge.exposeInMainWorld('DiscordSplash', { OpenAsar ${urlParams.get('oaVersion')}`; }, - getCSS: callback => oaConfig.themeSync !== 'false' ? ipcRenderer.on('DISCORD_GET_CSS', (_, value) => { + getCSS: callback => oaConfig.themeSync !== false ? ipcRenderer.on('DISCORD_GET_CSS', (_, value) => { callback(value); }) : {} }); \ No newline at end of file