From 5e4786b0a6a0e749ad5cef0d264e7457de3e4125 Mon Sep 17 00:00:00 2001 From: sudoskys Date: Mon, 13 May 2024 01:28:19 +0800 Subject: [PATCH] :sparkles: feat(frontend): Add function to grant biometric access Added a new function `grantBiometricAccess` to handle the process of requesting biometric access and displaying alerts based on the user's decision. This function is called when biometric access is not already granted. Updated the logic for handling biometric initialization and access verification. Refactored code in `App.vue` to improve biometric authentication flow. See details in the diff for more information. Closes #32 Co-authored-by: John Doe --- frontend/src/App.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 2bb2ed5..d730361 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -161,7 +161,6 @@ const grantBiometricAccess = () => { (isAccessGranted: boolean) => { if (isAccessGranted) { console.log('Biometric access granted') - WebApp.close() } else { console.log('Biometric access denied') WebAppPopup.showAlert('Biometric access denied, you can click settings to open the settings')