Removed spell-check-languages

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-18 20:13:55 +01:00
parent 1ba512af2a
commit 5a6e393fa2
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
2 changed files with 0 additions and 5 deletions

View File

@ -194,7 +194,6 @@ export default class GeneralUserSettingsTab extends React.Component {
};
_onSpellCheckLanguagesChange = (languages) => {
SettingsStore.setValue("spell-check-languages", null, SettingLevel.DEVICE, languages);
this.setState({spellCheckLanguages: languages});
const plaf = PlatformPeg.get();

View File

@ -424,10 +424,6 @@ export const SETTINGS: {[setting: string]: ISetting} = {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
default: "en",
},
"spell-check-languages": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
default: ["en-US"],
},
"breadcrumb_rooms": {
// not really a setting
supportedLevels: [SettingLevel.ACCOUNT],