You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Use faster lookup method
Co-Authored-By: Travis Ralston <travpc@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a8407c9508
commit
c268b98ded
@@ -168,7 +168,7 @@ export default class StyleUserSettingsTab extends React.Component {
|
|||||||
<div className="mx_SettingsTab">
|
<div className="mx_SettingsTab">
|
||||||
<div className="mx_SettingsTab_heading">{_t("Appearance")}</div>
|
<div className="mx_SettingsTab_heading">{_t("Appearance")}</div>
|
||||||
{this._renderThemeSection()}
|
{this._renderThemeSection()}
|
||||||
{SettingsStore.getValue("feature_font_scaling") ? this._renderFontSection() : null}
|
{SettingsStore.isFeatureEnabled("feature_font_scaling") ? this._renderFontSection() : null}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user