Hide font scaling behind labs
parent
af4dd2770c
commit
14551b1885
|
@ -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 New Issue