From cde7e77aea3a14aebe7479e9065323dfdc19de04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bryan=20Gald=C3=A1mez?= Date: Fri, 20 Sep 2024 22:22:36 -0600 Subject: [PATCH] fix(zenThemes): themes not being updated in other windows --- src/browser/components/preferences/zen-settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/components/preferences/zen-settings.js b/src/browser/components/preferences/zen-settings.js index a9995fb5..6d720eea 100644 --- a/src/browser/components/preferences/zen-settings.js +++ b/src/browser/components/preferences/zen-settings.js @@ -105,9 +105,9 @@ var gZenMarketplaceManager = { console.log('[ZenThemeMarketplaceParent:settings]: Building themes list'); - let themes = await ZenThemesCommon.getThemes(); + const themes = await ZenThemesCommon.getThemes(); - const browser = ZenThemesCommon.getBrowser(); + const browser = ZenThemesCommon.currentBrowser; const themeList = document.createElement('div'); @@ -791,5 +791,5 @@ Preferences.addAll([ id: 'zen.workspaces.show-icon-strip', type: 'bool', default: true, - } + }, ]);