From 33a3b07d88b6543f946a0757ab5dffac27bf322c Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 16 Nov 2017 20:52:12 -0700 Subject: [PATCH] Pull the theme through the default process This is to ensure the `config` level is respected. Signed-off-by: Travis Ralston --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 83c7fe01bb..23bdee4a03 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -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.