π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] added authentication to view passkeys
Aman Raj Singh Mouryab9a2cea390f7
diff --git a/mobile/lib/ui/settings/security_section_widget.dart b/mobile/lib/ui/settings/security_section_widget.dartindex a2ffe4f1ff..f3dec26867 100644--- a/mobile/lib/ui/settings/security_section_widget.dart+++ b/mobile/lib/ui/settings/security_section_widget.dart@@ -132,7 +132,16 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {pressedColor: getEnteColorScheme(context).fillFaint,trailingIcon: Icons.chevron_right_outlined,trailingIconIsMuted: true,- onTap: () async => await onPasskeyClick(context),+ onTap: () async {+ final hasAuthenticated = await LocalAuthenticationService.instance+ .requestLocalAuthentication(+ context,+ "Please authenticate to view your passkey",+ );+ if (hasAuthenticated) {+ await onPasskeyClick(context);+ }+ },),sectionOptionSpacing,],