mirror of https://github.com/vector-im/riot-web
pull/21833/head
parent
063230af03
commit
a30110b5d3
|
@ -546,11 +546,13 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
onLanguageChange: function(l) {
|
||||
if(this.state.language !== l) {
|
||||
UserSettingsStore.setLocalSetting('language', l);
|
||||
this.setState({
|
||||
language: l,
|
||||
});
|
||||
PlatformPeg.get().reload();
|
||||
}
|
||||
},
|
||||
|
||||
_renderLanguageSetting: function () {
|
||||
|
|
Loading…
Reference in New Issue