1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-18 09:22:18 +03: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:
Travis Ralston
2017-11-16 20:52:12 -07:00
parent 02629d13d9
commit 33a3b07d88

View File

@ -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.