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) { _onSetTheme: function(theme) {
if (!theme) { if (!theme) {
theme = SettingsStore.getValueAt(SettingLevel.DEFAULT, "theme"); theme = SettingsStore.getValue("theme");
} }
// look for the stylesheet elements. // look for the stylesheet elements.