mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-19 05:21:22 +02:00
Pull the theme through the default process
This is to ensure the `config` level is respected. Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
02629d13d9
commit
33a3b07d88
@ -891,7 +891,7 @@ module.exports = React.createClass({
|
||||
*/
|
||||
_onSetTheme: function(theme) {
|
||||
if (!theme) {
|
||||
theme = SettingsStore.getValueAt(SettingLevel.DEFAULT, "theme");
|
||||
theme = SettingsStore.getValue("theme");
|
||||
}
|
||||
|
||||
// look for the stylesheet elements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user