Browse Source

Change lang type to allow for multiple locales

pull/17052/head
Germain Souquet 1 year ago
parent
commit
dc4cc02682
  1. 4
      src/vector/platform/ElectronPlatform.tsx

4
src/vector/platform/ElectronPlatform.tsx

@ -510,8 +510,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
return this.eventIndexManager;
}
async setLanguage(language: string) {
return this._ipcCall('setLanguage', language);
async setLanguage(preferredLangs: string[]) {
return this._ipcCall('setLanguage', preferredLangs);
}
setSpellCheckLanguages(preferredLangs: string[]) {

Loading…
Cancel
Save