mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Notify electron of language changes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
65687dfd6f
commit
5117efaf98
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue