chore: Fixes a missing async handling which causes icon theme not to update after changing a variant.

This commit is contained in:
OctoD roth 2017-10-19 20:18:44 +02:00
parent 0cf20070c2
commit 01ef9b6cd0

View file

@ -33,9 +33,9 @@ export const THEME_VARIANT = () => {
return; return;
} }
setCustomSettings(customSettings); setCustomSettings(customSettings).then(() => {
THEME_ICONS().then(() => reloadWindow()).catch(error => console.trace(error))
THEME_ICONS().then(() => reloadWindow()).catch(error => console.trace(error)); });
}); });
}); });
} }