From 1033eda7fb8ca7ab4187e7c5a2a8ee080319522a Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Thu, 9 Jul 2020 15:54:44 +0100 Subject: [PATCH] Move irc layout option to advanced --- .../settings/tabs/user/AppearanceUserSettingsTab.tsx | 7 ++++++- src/i18n/strings/en_EN.json | 3 +-- src/settings/Settings.js | 8 +------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx b/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx index 9bed2fb039..3cb0028f45 100644 --- a/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx @@ -402,6 +402,12 @@ export default class AppearanceUserSettingsTab extends React.Component + this.setState({useIRCLayout: checked})} + /> {this.renderThemeSection()} {SettingsStore.isFeatureEnabled("feature_font_scaling") ? this.renderFontSection() : null} - {SettingsStore.isFeatureEnabled("feature_irc_ui") ? this.renderLayoutSection() : null} {this.renderAdvancedSection()} ); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index a38d87d08e..fb97bfa26c 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -489,7 +489,6 @@ "Try out new ways to ignore people (experimental)": "Try out new ways to ignore people (experimental)", "Use the improved room list (will refresh to apply changes)": "Use the improved room list (will refresh to apply changes)", "Support adding custom themes": "Support adding custom themes", - "Enable IRC layout option in the appearance tab": "Enable IRC layout option in the appearance tab", "Show info about bridges in room settings": "Show info about bridges in room settings", "Font size": "Font size", "Use custom size": "Use custom size", @@ -539,7 +538,7 @@ "How fast should messages be downloaded.": "How fast should messages be downloaded.", "Manually verify all remote sessions": "Manually verify all remote sessions", "IRC display name width": "IRC display name width", - "Use IRC layout": "Use IRC layout", + "Enable experimental, compact IRC style layout": "Enable experimental, compact IRC style layout", "Collecting app version information": "Collecting app version information", "Collecting logs": "Collecting logs", "Uploading report": "Uploading report", diff --git a/src/settings/Settings.js b/src/settings/Settings.js index 0011ecfccd..5f84b11247 100644 --- a/src/settings/Settings.js +++ b/src/settings/Settings.js @@ -159,12 +159,6 @@ export const SETTINGS = { supportedLevels: LEVELS_FEATURE, default: false, }, - "feature_irc_ui": { - supportedLevels: LEVELS_ACCOUNT_SETTINGS, - displayName: _td('Enable IRC layout option in the appearance tab'), - default: false, - isFeature: true, - }, "mjolnirRooms": { supportedLevels: ['account'], default: [], @@ -574,7 +568,7 @@ export const SETTINGS = { }, "useIRCLayout": { supportedLevels: LEVELS_ACCOUNT_SETTINGS, - displayName: _td("Use IRC layout"), + displayName: _td("Enable experimental, compact IRC style layout"), default: false, }, };