From e08c70b82089299bbf736f92dafe6a8ec5daf773 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 11 Jan 2019 14:59:14 -0600 Subject: [PATCH] Prune unsupported setting RoomSubList.showEmpty The code reading this setting was previously removed in #2229. --- src/components/structures/UserSettings.js | 1 - src/i18n/strings/en_EN.json | 1 - src/settings/Settings.js | 5 ----- 3 files changed, 7 deletions(-) diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 15b9181d21..dc469c0ca3 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -82,7 +82,6 @@ const SIMPLE_SETTINGS = [ { id: "VideoView.flipVideoHorizontally" }, { id: "TagPanel.disableTagPanel" }, { id: "enableWidgetScreenshots" }, - { id: "RoomSubList.showEmpty" }, { id: "pinMentionedRooms" }, { id: "pinUnreadRooms" }, { id: "showDeveloperTools" }, diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 0086ed0378..a7b75c136b 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -296,7 +296,6 @@ "Pin rooms I'm mentioned in to the top of the room list": "Pin rooms I'm mentioned in to the top of the room list", "Pin unread rooms to the top of the room list": "Pin unread rooms to the top of the room list", "Enable widget screenshots on supported widgets": "Enable widget screenshots on supported widgets", - "Show empty room list headings": "Show empty room list headings", "Always invite users which may not exist": "Always invite users which may not exist", "Show developer tools": "Show developer tools", "Collecting app version information": "Collecting app version information", diff --git a/src/settings/Settings.js b/src/settings/Settings.js index a04301e31e..f64e999a32 100644 --- a/src/settings/Settings.js +++ b/src/settings/Settings.js @@ -324,11 +324,6 @@ export const SETTINGS = { supportedLevels: ['room-device'], default: false, }, - "RoomSubList.showEmpty": { - supportedLevels: LEVELS_ACCOUNT_SETTINGS, - displayName: _td('Show empty room list headings'), - default: true, - }, "alwaysInviteUnknownUsers": { supportedLevels: LEVELS_ACCOUNT_SETTINGS, displayName: _td('Always invite users which may not exist'),