[Splash] Fix themeSync config not being used properly
This commit is contained in:
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…
Reference in New Issue