chore: Fixes a missing async handling which causes icon theme not to update after changing a variant.
This commit is contained in:
parent
0cf20070c2
commit
01ef9b6cd0
1 changed files with 3 additions and 3 deletions
|
@ -33,9 +33,9 @@ export const THEME_VARIANT = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
setCustomSettings(customSettings);
|
||||
|
||||
THEME_ICONS().then(() => reloadWindow()).catch(error => console.trace(error));
|
||||
setCustomSettings(customSettings).then(() => {
|
||||
THEME_ICONS().then(() => reloadWindow()).catch(error => console.trace(error))
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue