This commit is contained in:
Šimon Brandner 2020-12-01 20:17:24 +01:00
parent 44a363f188
commit 3c2bb6e4f6
3 changed files with 4 additions and 5 deletions

View file

@ -188,10 +188,7 @@ export default class GeneralUserSettingsTab extends React.Component {
SettingsStore.setValue("spell-check-languages", null, SettingLevel.DEVICE, languages);
this.setState({spellCheckLanguages: languages})
const plaf = PlatformPeg.get();
if (plaf) {
plaf.setLanguage(languages);
}
languageHandler.setSpellCheckLanguages(languages);
};
_onPasswordChangeError = (err) => {