[Splash] Fix themeSync config not being used properly

This commit is contained in:
Ducko 2021-12-27 20:10:06 +00:00
parent 2cc4b1fe4a
commit 285c1bca31
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}) : {}
});