1
0
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:
addison
2021-11-02 09:26:35 -04:00
parent 11fae781ac
commit d9655c4f82
11 changed files with 20 additions and 20 deletions

View File

@@ -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();