π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix bug in setting showingLockScreen flag
Neeraj Gupta572417d3aa35
diff --git a/lib/ui/tools/lock_screen.dart b/lib/ui/tools/lock_screen.dartindex dbd050c61b..0262de56a8 100644--- a/lib/ui/tools/lock_screen.dart+++ b/lib/ui/tools/lock_screen.dart@@ -73,7 +73,8 @@ class _LockScreenState extends State<LockScreen> with WidgetsBindingObserver {if (!_hasAuthenticationFailed && !didAuthInLast5Seconds) {// Show the lock screen again only if the app is resuming from the// background, and not when the lock screen was explicitly dismissed- _showLockScreen(source: "lifeCycle");+ Future.delayed(+ Duration.zero, () => _showLockScreen(source: "lifeCycle"));} else {_hasAuthenticationFailed = false; // Reset failure state}@@ -117,6 +118,7 @@ class _LockScreenState extends State<LockScreen> with WidgetsBindingObserver {}}} catch (e, s) {+ _isShowingLockScreen = false;_logger.severe(e, s);}}