π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][auth] Directly route to appLock in case of no systemLock found
Aman Raj Singh Mouryafbc6137b3e55
diff --git a/auth/lib/ui/settings/security_section_widget.dart b/auth/lib/ui/settings/security_section_widget.dartindex 9ba4289a36..38fa19f4a4 100644--- a/auth/lib/ui/settings/security_section_widget.dart+++ b/auth/lib/ui/settings/security_section_widget.dart@@ -144,11 +144,10 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {trailingIcon: Icons.chevron_right_outlined,trailingIconIsMuted: true,onTap: () async {- if (await LocalAuthenticationService.instance- .isLocalAuthSupportedOnDevice()) {+ if (await Configuration.instance.shouldShowLockScreen()) {final bool result = await requestAuthentication(context,- context.l10n.authToChangeLockscreenSetting,+ context.l10n.about,);if (result) {await Navigator.of(context).push(@@ -160,10 +159,12 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {);}} else {- await showErrorDialog(- context,- context.l10n.noSystemLockFound,- context.l10n.toEnableAppLockPleaseSetupDevicePasscodeOrScreen,+ await Navigator.of(context).push(+ MaterialPageRoute(+ builder: (BuildContext context) {+ return const LockScreenOptions();+ },+ ),);}},