From 8cf2ab436d5490a538ae399d60fdd020e1d044c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Thu, 18 Feb 2021 20:12:51 +0100 Subject: [PATCH] Use getSpellCheckLanguages() instead of a setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/vector/platform/ElectronPlatform.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 61df849754..9453982f3c 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -504,6 +504,10 @@ export default class ElectronPlatform extends VectorBasePlatform { }); } + async getSpellCheckLanguages(): Promise { + return this._ipcCall('getSpellCheckLanguages'); + } + async getAvailableSpellCheckLanguages(): Promise { return this._ipcCall('getAvailableSpellCheckLanguages'); }