mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Support forcefocus for biometrics
This commit is contained in:
@@ -114,7 +114,7 @@ export class Main {
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
const BiometricWindowsMain = require('jslib/electron/biometric.windows.main').default;
|
||||
this.biometricMain = new BiometricWindowsMain(this.storageService, this.i18nService);
|
||||
this.biometricMain = new BiometricWindowsMain(this.storageService, this.i18nService, this.windowMain);
|
||||
} else if (process.platform === 'darwin') {
|
||||
const BiometricDarwinMain = require('jslib/electron/biometric.darwin.main').default;
|
||||
this.biometricMain = new BiometricDarwinMain(this.storageService, this.i18nService);
|
||||
|
||||
Reference in New Issue
Block a user