mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:35:04 +08:00
Indenting
This commit is contained in:
parent
c2df23395d
commit
aef068b00e
@ -557,18 +557,18 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
onLanguageChange: function(l) {
|
||||
UserSettingsStore.setLocalSetting('language', l);
|
||||
this.setState({
|
||||
Language: l,
|
||||
});
|
||||
PlatformPeg.get().reload();
|
||||
UserSettingsStore.setLocalSetting('language', l);
|
||||
this.setState({
|
||||
Language: l,
|
||||
});
|
||||
PlatformPeg.get().reload();
|
||||
},
|
||||
|
||||
_renderLanguageSetting: function () {
|
||||
const LanguageDropdown = sdk.getComponent('views.elements.LanguageDropdown');
|
||||
return <LanguageDropdown ref="language" onOptionChange={this.onLanguageChange}
|
||||
className="mx_UserSettings_Language"
|
||||
value={this.state.Language} />;
|
||||
const LanguageDropdown = sdk.getComponent('views.elements.LanguageDropdown');
|
||||
return <LanguageDropdown ref="language" onOptionChange={this.onLanguageChange}
|
||||
className="mx_UserSettings_Language"
|
||||
value={this.state.Language} />;
|
||||
},
|
||||
|
||||
_renderUserInterfaceSettings: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user