1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

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);
},