mirror of
https://github.com/NicolasConstant/sengi
synced 2024-12-23 07:07:19 +01:00
changed ipc channel name
This commit is contained in:
parent
c0f03570a0
commit
4511363408
@ -10,7 +10,7 @@ export class MyElectronService {
|
|||||||
setLang(lang: string) {
|
setLang(lang: string) {
|
||||||
try {
|
try {
|
||||||
if ((<any>window).api) {
|
if ((<any>window).api) {
|
||||||
(<any>window).api.send("toMain", lang);
|
(<any>window).api.send("changeSpellchecker", lang);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user