π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile] Use passkey flag for showing passkey option
Neeraj Gupta73f35c1a0c08
diff --git a/mobile/lib/ui/settings/security_section_widget.dart b/mobile/lib/ui/settings/security_section_widget.dartindex cef295d3cf..eb93d85f62 100644--- a/mobile/lib/ui/settings/security_section_widget.dart+++ b/mobile/lib/ui/settings/security_section_widget.dart@@ -70,7 +70,6 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {final Completer completer = Completer();final List<Widget> children = [];if (_config.hasConfiguredAccount()) {- final bool isInternalUser = flagService.internalUser;children.addAll([sectionOptionSpacing,@@ -102,8 +101,8 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {},),),- if (isInternalUser) sectionOptionSpacing,- if (isInternalUser)+ if (flagService.passKeyEnabled) sectionOptionSpacing,+ if (flagService.passKeyEnabled)MenuItemWidget(captionedTextWidget: CaptionedTextWidget(title: context.l10n.passkey,