Switch all-rooms toggle for spaces to non-feature settings key

This commit is contained in:
Michael Telatynski 2021-07-27 21:17:24 +01:00
parent 0a9d3302ba
commit 776435f620
6 changed files with 13 additions and 14 deletions

View file

@ -180,15 +180,10 @@ export const SETTINGS: {[setting: string]: ISetting} = {
"The more detail you can go into, the better."),
feedbackLabel: "spaces-feedback",
extraSettings: [
"feature_spaces.all_rooms",
"Spaces.all_rooms_in_home",
],
},
},
"feature_spaces.all_rooms": {
displayName: _td("Show all rooms in Home"),
supportedLevels: LEVELS_FEATURE,
default: false,
},
"feature_dnd": {
isFeature: true,
displayName: _td("Show options to enable 'Do not disturb' mode"),
@ -756,6 +751,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
default: null,
},
"Spaces.all_rooms_in_home": {
displayName: _td("Show all rooms in Home"),
supportedLevels: LEVELS_FEATURE,
default: false,
},
[UIFeature.RoomHistorySettings]: {
supportedLevels: LEVELS_UI_FEATURE,
default: true,