Language is a local setting
Fixes https://github.com/vector-im/riot-web/issues/5611 Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
f141ee1944
commit
10a1d9cb29
1 changed files with 1 additions and 2 deletions
|
@ -613,8 +613,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
onLanguageChange: function(newLang) {
|
onLanguageChange: function(newLang) {
|
||||||
if(this.state.language !== newLang) {
|
if(this.state.language !== newLang) {
|
||||||
// We intentionally promote this to the account level at this point
|
SettingsStore.setValue("language", null, SettingLevel.DEVICE, newLang);
|
||||||
SettingsStore.setValue("language", null, SettingLevel.ACCOUNT, newLang);
|
|
||||||
this.setState({
|
this.setState({
|
||||||
language: newLang,
|
language: newLang,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue