From 3113219241f95118b8a4cb116d352be1d48112a8 Mon Sep 17 00:00:00 2001 From: Grandschtroumpf Date: Tue, 30 Apr 2019 10:53:09 +0200 Subject: [PATCH] themeChanged send the full theme object --- src/app/tabs/theme-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/theme-module.js b/src/app/tabs/theme-module.js index 7993f190bf..f2091c5198 100644 --- a/src/app/tabs/theme-module.js +++ b/src/app/tabs/theme-module.js @@ -57,6 +57,6 @@ export class ThemeModule extends BaseApi { document.getElementById('theme-link').setAttribute('href', nextTheme.url) document.documentElement.style.setProperty('--theme', nextTheme.quality) if (themeName) this.active = themeName - this.events.emit('themeChanged', nextTheme.quality) + this.events.emit('themeChanged', nextTheme) } }