mirror of
https://github.com/bitwarden/jslib
synced 2026-01-04 09:33:14 +00:00
[bug] Add several missing awaits
This commit is contained in:
@@ -25,9 +25,9 @@ export default class BiometricWindowsMain implements BiometricMain {
|
||||
// store error state so we can let the user know on the settings page
|
||||
this.isError = true;
|
||||
}
|
||||
this.stateService.setEnableBiometric(supportsBiometric);
|
||||
this.stateService.setBiometricText('unlockWithWindowsHello');
|
||||
this.stateService.setNoAutoPromptBiometricsText('noAutoPromptWindowsHello');
|
||||
await this.stateService.setEnableBiometric(supportsBiometric);
|
||||
await this.stateService.setBiometricText('unlockWithWindowsHello');
|
||||
await this.stateService.setNoAutoPromptBiometricsText('noAutoPromptWindowsHello');
|
||||
|
||||
ipcMain.on('biometric', async (event: any, message: any) => {
|
||||
event.returnValue = await this.authenticateBiometric();
|
||||
|
||||
Reference in New Issue
Block a user