From 9c7e7f5b9a615e5b53f7c795346af96b240b7dc2 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Mon, 2 Nov 2020 20:18:27 +0100 Subject: [PATCH] save the theme for reload --- apps/remix-ide/src/app/tabs/theme-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/theme-module.js b/apps/remix-ide/src/app/tabs/theme-module.js index 53cd18c8b8..ccbb288738 100644 --- a/apps/remix-ide/src/app/tabs/theme-module.js +++ b/apps/remix-ide/src/app/tabs/theme-module.js @@ -77,7 +77,7 @@ export class ThemeModule extends Plugin { } const next = themeName || this.active // Name const nextTheme = this.themes[next] // Theme - if (!this.forced) this._deps.config.set('settings/theme', next) + this._deps.config.set('settings/theme', next) document.getElementById('theme-link').setAttribute('href', nextTheme.url) document.documentElement.style.setProperty('--theme', nextTheme.quality) if (themeName) this.active = themeName