π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Delay app lock options until init
Neeraj Gupta2735f816493f
diff --git a/mobile/apps/photos/lib/ui/settings/lock_screen/lock_screen_options.dart b/mobile/apps/photos/lib/ui/settings/lock_screen/lock_screen_options.dartindex d75919fddd..40eafd452b 100644--- a/mobile/apps/photos/lib/ui/settings/lock_screen/lock_screen_options.dart+++ b/mobile/apps/photos/lib/ui/settings/lock_screen/lock_screen_options.dart@@ -28,6 +28,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {late bool appLock;late bool hideAppContent;LockType _currentLockType = LockType.device;+ bool _isInitialized = false;@overridevoid initState() {@@ -56,6 +57,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {appLock = pinEnabled ||passwordEnabled ||_configuration.shouldShowSystemLockScreen();+ _isInitialized = true;});}@@ -200,7 +202,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {),),),- if (appLock) ...[+ if (appLock && _isInitialized) ...[const SizedBox(height: 16),ClipRRect(borderRadius: BorderRadius.circular(20),