From 5117efaf98e6d68cd048f389107d39dc23ea54a9 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 24 Feb 2020 17:14:23 +0000 Subject: [PATCH] Notify electron of language changes Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/vector/platform/ElectronPlatform.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index 2d14e8c6..53269211 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -385,4 +385,8 @@ export default class ElectronPlatform extends VectorBasePlatform { getEventIndexingManager(): BaseEventIndexManager | null { return this.eventIndexManager; } + + async setLanguage(preferredLangs: string[]): Promise { + return this._ipcCall('setLanguage', preferredLangs); + } }