Skip to content

Commit 5117efa

Browse files
committed
Notify electron of language changes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 65687df commit 5117efa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vector/platform/ElectronPlatform.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
385385
getEventIndexingManager(): BaseEventIndexManager | null {
386386
return this.eventIndexManager;
387387
}
388+
389+
async setLanguage(preferredLangs: string[]): Promise<void> {
390+
return this._ipcCall('setLanguage', preferredLangs);
391+
}
388392
}

0 commit comments

Comments
 (0)