pull/15851/head
Šimon Brandner 2 years ago
parent a8a422105b
commit 1c9d25986a
  1. 6
      src/vector/platform/ElectronPlatform.tsx

@ -489,9 +489,9 @@ export default class ElectronPlatform extends VectorBasePlatform {
return this.eventIndexManager;
}
setLanguage(preferredLangs: string[]) {
this._ipcCall('setLanguage', preferredLangs).catch(error => {
console.log("Failed to send setLanguage IPC to Electron");
setSpellCheckLanguages(preferredLangs: string[]) {
this._ipcCall('setSpellCheckLanguages', preferredLangs).catch(error => {
console.log("Failed to send setSpellCheckLanguages IPC to Electron");
console.error(error);
});
}

Loading…
Cancel
Save