mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Update missing var to use element theme
This commit is contained in:
parent
5b3c3f53fe
commit
71dc6e8e10
@ -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 New Issue
Block a user