mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Hide font scaling behind labs
This commit is contained in:
parent
af4dd2770c
commit
14551b1885
3 changed files with 8 additions and 1 deletions
|
@ -139,7 +139,7 @@ export default class StyleUserSettingsTab extends React.Component {
|
|||
<div className="mx_SettingsTab">
|
||||
<div className="mx_SettingsTab_heading">{_t("Style")}</div>
|
||||
{this._renderThemeSection()}
|
||||
{this._renderFontSection()}
|
||||
{SettingsStore.getValue("feature_font_scaling") ? this._renderFontSection() : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -2295,5 +2295,6 @@
|
|||
"Space": "Space",
|
||||
"End": "End",
|
||||
"Font size": "Font size",
|
||||
"Font scaling": "Font scaling",
|
||||
"Style": "Style"
|
||||
}
|
||||
|
|
|
@ -95,6 +95,12 @@ export const SETTINGS = {
|
|||
// // not use this for new settings.
|
||||
// invertedSettingName: "my-negative-setting",
|
||||
// },
|
||||
"feature_font_scaling": {
|
||||
isFeature: true,
|
||||
displayName: _td("Font scaling"),
|
||||
supportedLevels: LEVELS_FEATURE,
|
||||
default: false
|
||||
},
|
||||
"font_size": {
|
||||
displayName: _td("Font size"),
|
||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||
|
|
Loading…
Reference in a new issue