DRY and fix useCiderComposer being in both labs and preferences
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
853c522467
commit
e200193b0a
2 changed files with 1 additions and 2 deletions
|
@ -204,7 +204,7 @@ module.exports = createReactClass({
|
||||||
|
|
||||||
WidgetEchoStore.on('update', this._onWidgetEchoStoreUpdate);
|
WidgetEchoStore.on('update', this._onWidgetEchoStoreUpdate);
|
||||||
|
|
||||||
this.setState({useCider: SettingsStore.getValue("useCiderComposer")});
|
this._onCiderUpdated();
|
||||||
this._ciderWatcherRef = SettingsStore.watchSetting(
|
this._ciderWatcherRef = SettingsStore.watchSetting(
|
||||||
"useCiderComposer", null, this._onCiderUpdated);
|
"useCiderComposer", null, this._onCiderUpdated);
|
||||||
},
|
},
|
||||||
|
|
|
@ -121,7 +121,6 @@ export const SETTINGS = {
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
"useCiderComposer": {
|
"useCiderComposer": {
|
||||||
isFeature: true,
|
|
||||||
displayName: _td("Use the new, faster, composer for writing messages"),
|
displayName: _td("Use the new, faster, composer for writing messages"),
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
default: true,
|
default: true,
|
||||||
|
|
Loading…
Reference in a new issue