From 01ef9b6cd0600308c5f9d727c6f9cb2020c8c75f Mon Sep 17 00:00:00 2001 From: OctoD roth Date: Thu, 19 Oct 2017 20:18:44 +0200 Subject: [PATCH] chore: Fixes a missing async handling which causes icon theme not to update after changing a variant. --- extensions/commands/theme-variant/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/commands/theme-variant/index.ts b/extensions/commands/theme-variant/index.ts index d9de977..08aaa4f 100644 --- a/extensions/commands/theme-variant/index.ts +++ b/extensions/commands/theme-variant/index.ts @@ -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)) + }); }); }); } \ No newline at end of file