Enable theme setting

This commit is contained in:
J. Ryan Stinnett 2019-02-11 18:11:28 +00:00
parent e401b8f77a
commit 204d6e2c3d

View file

@ -142,7 +142,7 @@ export default class GeneralUserSettingsTab extends React.Component {
return ( return (
<div className="mx_SettingsTab_section mx_GeneralUserSettingsTab_themeSection"> <div className="mx_SettingsTab_section mx_GeneralUserSettingsTab_themeSection">
<span className="mx_SettingsTab_subheading">{_t("Theme")}</span> <span className="mx_SettingsTab_subheading">{_t("Theme")}</span>
<Field id="theme" label={_t("Theme")} element="select" disabled={true} <Field id="theme" label={_t("Theme")} element="select"
value={this.state.theme} onChange={this._onThemeChange}> value={this.state.theme} onChange={this._onThemeChange}>
<option value="dharma">{_t("Default theme")}</option> <option value="dharma">{_t("Default theme")}</option>
<option value="dark">{_t("Dark theme")}</option> <option value="dark">{_t("Dark theme")}</option>