Update missing var to use element theme
This commit is contained in:
parent
5b3c3f53fe
commit
71dc6e8e10
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ export default class ThemeWatcher {
|
|||
// If the user hasn't really made a preference in either direction, assume the defaults of the
|
||||
// settings and use those.
|
||||
if (SettingsStore.getValue('use_system_theme')) {
|
||||
if (this.preferDark.matches) return 'dark';
|
||||
if (this.preferLight.matches) return 'light';
|
||||
if (this.preferDark.matches) return 'element-dark';
|
||||
if (this.preferLight.matches) return 'element';
|
||||
}
|
||||
console.log("returning theme value");
|
||||
return SettingsStore.getValue('theme');
|
||||
|
|
Loading…
Reference in a new issue