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">
|
||||||
<div className="mx_SettingsTab_heading">{_t("Style")}</div>
|
<div className="mx_SettingsTab_heading">{_t("Style")}</div>
|
||||||
{this._renderThemeSection()}
|
{this._renderThemeSection()}
|
||||||
{this._renderFontSection()}
|
{SettingsStore.getValue("feature_font_scaling") ? this._renderFontSection() : null}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2295,5 +2295,6 @@
|
||||||
"Space": "Space",
|
"Space": "Space",
|
||||||
"End": "End",
|
"End": "End",
|
||||||
"Font size": "Font size",
|
"Font size": "Font size",
|
||||||
|
"Font scaling": "Font scaling",
|
||||||
"Style": "Style"
|
"Style": "Style"
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,6 +95,12 @@ export const SETTINGS = {
|
||||||
// // not use this for new settings.
|
// // not use this for new settings.
|
||||||
// invertedSettingName: "my-negative-setting",
|
// invertedSettingName: "my-negative-setting",
|
||||||
// },
|
// },
|
||||||
|
"feature_font_scaling": {
|
||||||
|
isFeature: true,
|
||||||
|
displayName: _td("Font scaling"),
|
||||||
|
supportedLevels: LEVELS_FEATURE,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
"font_size": {
|
"font_size": {
|
||||||
displayName: _td("Font size"),
|
displayName: _td("Font size"),
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
|
|
Loading…
Reference in New Issue