[SG-646] [SG-647] Fix mac biometrics not working (#3436)
This commit is contained in:
parent
39700b5db3
commit
ef50055e32
|
@ -13,9 +13,8 @@ export default class BiometricDarwinMain implements BiometricMain {
|
|||
await this.stateService.setBiometricText("unlockWithTouchId");
|
||||
await this.stateService.setNoAutoPromptBiometricsText("autoPromptTouchId");
|
||||
|
||||
// eslint-disable-next-line
|
||||
ipcMain.on("biometric", async (event: any, message: any) => {
|
||||
event.returnValue = await this.authenticateBiometric();
|
||||
ipcMain.handle("biometric", async () => {
|
||||
return await this.authenticateBiometric();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue