Use correct name and indentation
This commit is contained in:
parent
175b5e70b6
commit
57d880ca5e
1 changed files with 5 additions and 4 deletions
|
@ -27,7 +27,7 @@ import AccessibleButton from "../../../elements/AccessibleButton";
|
||||||
import dis from "../../../../../dispatcher";
|
import dis from "../../../../../dispatcher";
|
||||||
import _range from "lodash/range";
|
import _range from "lodash/range";
|
||||||
|
|
||||||
export default class StyleUserSettingsTab extends React.Component {
|
export default class AppearanceUserSettingsTab extends React.Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
|
@ -231,9 +231,10 @@ export default class StyleUserSettingsTab extends React.Component {
|
||||||
<div className="mx_SettingsTab_section mx_AppearanceUserSettingsTab_themeSection">
|
<div className="mx_SettingsTab_section mx_AppearanceUserSettingsTab_themeSection">
|
||||||
<span className="mx_SettingsTab_subheading">{_t("Theme")}</span>
|
<span className="mx_SettingsTab_subheading">{_t("Theme")}</span>
|
||||||
{systemThemeSection}
|
{systemThemeSection}
|
||||||
<Field id="theme" label={_t("Theme")} element="select"
|
<Field
|
||||||
value={this.state.theme} onChange={this._onThemeChange}
|
id="theme" label={_t("Theme")} element="select"
|
||||||
disabled={this.state.useSystemTheme}
|
value={this.state.theme} onChange={this._onThemeChange}
|
||||||
|
disabled={this.state.useSystemTheme}
|
||||||
>
|
>
|
||||||
{orderedThemes.map(theme => {
|
{orderedThemes.map(theme => {
|
||||||
return <option key={theme.id} value={theme.id}>{theme.name}</option>;
|
return <option key={theme.id} value={theme.id}>{theme.name}</option>;
|
||||||
|
|
Loading…
Reference in a new issue