mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Cleanup, localize error.
This commit is contained in:
@@ -151,7 +151,7 @@ export default class MainBackground {
|
||||
},
|
||||
() => {
|
||||
if (this.nativeMessagingBackground != null) {
|
||||
const promise = this.nativeMessagingBackground.await();
|
||||
const promise = this.nativeMessagingBackground.getResponse();
|
||||
this.nativeMessagingBackground.send({command: 'biometricUnlock'})
|
||||
return promise.then((result) => result.response === 'unlocked');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user