Merge branch 'develop' into luke/linting-keyword-spacing

This commit is contained in:
Luke Barnard 2017-11-16 13:23:42 +00:00
commit b54e563cb6
11 changed files with 84 additions and 20 deletions

View file

@ -613,8 +613,7 @@ module.exports = React.createClass({
onLanguageChange: function(newLang) {
if (this.state.language !== newLang) {
// We intentionally promote this to the account level at this point
SettingsStore.setValue("language", null, SettingLevel.ACCOUNT, newLang);
SettingsStore.setValue("language", null, SettingLevel.DEVICE, newLang);
this.setState({
language: newLang,
});