forked from matrix/element-web
Notify electron of language changes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
65687dfd6f
commit
5117efaf98
|
@ -385,4 +385,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
getEventIndexingManager(): BaseEventIndexManager | null {
|
getEventIndexingManager(): BaseEventIndexManager | null {
|
||||||
return this.eventIndexManager;
|
return this.eventIndexManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async setLanguage(preferredLangs: string[]): Promise<void> {
|
||||||
|
return this._ipcCall('setLanguage', preferredLangs);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue