From 1c9d25986ad60ccf8df7aba7df371d0a08178b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 1 Dec 2020 20:19:14 +0100 Subject: [PATCH] Cleanup --- src/vector/platform/ElectronPlatform.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index b14c0cfa9..0dd57ef45 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/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); }); }