Notify electron of language changes

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-02-24 17:14:23 +00:00
parent 65687dfd6f
commit 5117efaf98

View file

@ -385,4 +385,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
getEventIndexingManager(): BaseEventIndexManager | null {
return this.eventIndexManager;
}
async setLanguage(preferredLangs: string[]): Promise<void> {
return this._ipcCall('setLanguage', preferredLangs);
}
}