diff --git a/src/app/services/electron.service.ts b/src/app/services/electron.service.ts index 3dfab7eb..65c82c1c 100644 --- a/src/app/services/electron.service.ts +++ b/src/app/services/electron.service.ts @@ -10,7 +10,7 @@ export class MyElectronService { setLang(lang: string) { try { if ((window).api) { - (window).api.send("toMain", lang); + (window).api.send("changeSpellchecker", lang); } } catch (err) {