Notify electron of language changes

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/12487/head
Michael Telatynski 2020-02-24 17:14:23 +00:00
parent 65687dfd6f
commit 5117efaf98
1 changed files with 4 additions and 0 deletions

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);
}
}