get rid of unused stuff

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-02-26 23:19:50 +00:00
parent f036f0bd83
commit 75c593b2f4
2 changed files with 0 additions and 12 deletions

View file

@ -437,7 +437,6 @@ export const SETTINGS = {
supportedLevels: LEVELS_ACCOUNT_SETTINGS, supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Order rooms by name"), displayName: _td("Order rooms by name"),
default: true, default: true,
invertedSettingName: "RoomList.orderByRecents",
}, },
"RoomList.orderByImportance": { "RoomList.orderByImportance": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS, supportedLevels: LEVELS_ACCOUNT_SETTINGS,

View file

@ -47,15 +47,4 @@ export default class SettingController {
onChange(level, roomId, newValue) { onChange(level, roomId, newValue) {
// do nothing by default // do nothing by default
} }
/**
* Gets the value which should actually get written into the store based on the input value from setValue.
* @param {string} level The level at which the setting has been modified.
* @param {String} roomId The room ID, may be null.
* @param {*} newValue The new value for the setting, may be null.
* @return {*} The value that should be used, may be null.
*/
augmentValue(level, roomId, newValue) {
return newValue;
}
} }