Use SettingsStore for default theme
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
5104ebfd29
commit
022e40a127
2 changed files with 3 additions and 3 deletions
|
@ -891,7 +891,7 @@ module.exports = React.createClass({
|
|||
*/
|
||||
_onSetTheme: function(theme) {
|
||||
if (!theme) {
|
||||
theme = this.props.config.default_theme || 'light';
|
||||
theme = SettingsStore.getValueAt(SettingLevel.DEFAULT, "theme");
|
||||
}
|
||||
|
||||
// look for the stylesheet elements.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue