Pull the theme through the default process

This is to ensure the `config` level is respected.

Signed-off-by: Travis Ralston <travpc@gmail.com>
pull/21833/head
Travis Ralston 2017-11-16 20:52:12 -07:00
parent 02629d13d9
commit 33a3b07d88
1 changed files with 1 additions and 1 deletions

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.