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: hide biometrics unavailable toast (#1425)
Ammar Ahmedb7b6f604eb53
diff --git a/apps/mobile/app/components/launcher/index.js b/apps/mobile/app/components/launcher/index.jsindex b56401880..d9fc6f96e 100644--- a/apps/mobile/app/components/launcher/index.js+++ b/apps/mobile/app/components/launcher/index.js@@ -199,13 +199,7 @@ const Launcher = React.memo(};const onUnlockBiometrics = useCallback(async () => {- if (!(await BiometricService.isBiometryAvailable())) {- ToastEvent.show({- heading: "Biometrics unavailable",- message: "Try unlocking the app with your account password"- });- return;- }+ if (!(await BiometricService.isBiometryAvailable())) return;let verified = await BiometricService.validateUser("Unlock to access your notes",""