[Splash] Fix themeSync config not being used properly

main
Oj 2 years ago
parent 2cc4b1fe4a
commit 285c1bca31

@ -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);
}) : {}
});
Loading…
Cancel
Save