diff --git a/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts b/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts index e9350fb606c..59d1cb5a030 100644 --- a/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts +++ b/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts @@ -19,13 +19,13 @@ export class MainDesktopAutotypeService { ) { this.autotypeKeyboardShortcut = new AutotypeKeyboardShortcut(); - ipcMain.handle(AUTOTYPE_IPC_CHANNELS.INITIALIZED, () => { - return this.isInitialized; - }); - ipcMain.handle(AUTOTYPE_IPC_CHANNELS.INIT, () => { this.init(); }); + + ipcMain.handle(AUTOTYPE_IPC_CHANNELS.INITIALIZED, () => { + return this.isInitialized; + }); } init() {