DRY and fix useCiderComposer being in both labs and preferences

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-10-04 10:15:00 +01:00
parent 853c522467
commit e200193b0a
2 changed files with 1 additions and 2 deletions

View file

@ -204,7 +204,7 @@ module.exports = createReactClass({
WidgetEchoStore.on('update', this._onWidgetEchoStoreUpdate);
this.setState({useCider: SettingsStore.getValue("useCiderComposer")});
this._onCiderUpdated();
this._ciderWatcherRef = SettingsStore.watchSetting(
"useCiderComposer", null, this._onCiderUpdated);
},