mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Change lang type to allow for multiple locales
This commit is contained in:
parent
f5c2d51f1e
commit
dc4cc02682
@ -510,8 +510,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||
return this.eventIndexManager;
|
||||
}
|
||||
|
||||
async setLanguage(language: string) {
|
||||
return this._ipcCall('setLanguage', language);
|
||||
async setLanguage(preferredLangs: string[]) {
|
||||
return this._ipcCall('setLanguage', preferredLangs);
|
||||
}
|
||||
|
||||
setSpellCheckLanguages(preferredLangs: string[]) {
|
||||
|
Loading…
Reference in New Issue
Block a user