Set spell-check languages without reloading
parent
7609f2004e
commit
ead00dcded
|
@ -187,7 +187,11 @@ export default class GeneralUserSettingsTab extends React.Component {
|
|||
_onSpellCheckLanguagesChange = (languages) => {
|
||||
SettingsStore.setValue("spell-check-languages", null, SettingLevel.DEVICE, languages);
|
||||
this.setState({spellCheckLanguages: languages})
|
||||
PlatformPeg.get().reload();
|
||||
|
||||
const plaf = PlatformPeg.get();
|
||||
if (plaf) {
|
||||
plaf.setLanguage(languages);
|
||||
}
|
||||
};
|
||||
|
||||
_onPasswordChangeError = (err) => {
|
||||
|
|
Loading…
Reference in New Issue