A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix biometric password update flow
kashaf-ansari-devc89a9fad503b
diff --git a/apps/mobile/app/components/dialogs/vault/index.tsx b/apps/mobile/app/components/dialogs/vault/index.tsxindex ba0fbc3a3..57266e2d3 100644--- a/apps/mobile/app/components/dialogs/vault/index.tsx+++ b/apps/mobile/app/components/dialogs/vault/index.tsx@@ -256,12 +256,7 @@ export const VaultDialog: React.FC = () => {});close();} catch (e) {- close();- ToastManager.show({- heading: strings.passwordIncorrect(),- type: "error",- context: "local"- });+ formRef.current.setError("password", strings.passwordIncorrect());setLoading(false);}},@@ -501,10 +496,12 @@ export const VaultDialog: React.FC = () => {db.vault.changePassword(password, newPassword)- .then(() => {+ .then(async () => {setLoading(false);if (biometricUnlock) {enrollFingerprint(newPassword);+ } else {+ await BiometricService.resetCredentials();}ToastManager.show({heading: strings.passwordUpdated(),