Use getSpellCheckLanguages() instead of a setting

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/15851/head
Šimon Brandner 2021-02-18 20:12:51 +01:00
parent 4961037dbe
commit 8cf2ab436d
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 4 additions and 0 deletions

View File

@ -504,6 +504,10 @@ export default class ElectronPlatform extends VectorBasePlatform {
});
}
async getSpellCheckLanguages(): Promise<string[]> {
return this._ipcCall('getSpellCheckLanguages');
}
async getAvailableSpellCheckLanguages(): Promise<string[]> {
return this._ipcCall('getAvailableSpellCheckLanguages');
}