mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Use getSpellCheckLanguages() instead of a setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
4961037dbe
commit
8cf2ab436d
@ -504,6 +504,10 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async getSpellCheckLanguages(): Promise<string[]> {
|
||||||
|
return this._ipcCall('getSpellCheckLanguages');
|
||||||
|
}
|
||||||
|
|
||||||
async getAvailableSpellCheckLanguages(): Promise<string[]> {
|
async getAvailableSpellCheckLanguages(): Promise<string[]> {
|
||||||
return this._ipcCall('getAvailableSpellCheckLanguages');
|
return this._ipcCall('getAvailableSpellCheckLanguages');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user