π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: don't show lock sreen if not required
Prateek Sunal4de530b882f4
diff --git a/mobile/apps/photos/lib/ui/tools/lock_screen.dart b/mobile/apps/photos/lib/ui/tools/lock_screen.dartindex a6fbb4d922..6064f3eafb 100644--- a/mobile/apps/photos/lib/ui/tools/lock_screen.dart+++ b/mobile/apps/photos/lib/ui/tools/lock_screen.dart@@ -317,6 +317,11 @@ class _LockScreenState extends State<LockScreen>}Future<void> _showLockScreen({String source = ''}) async {+ if (!await Configuration.instance.shouldShowLockScreen() &&+ !localSettings.isOnGuestView()) {+ return;+ }+final int currentTimestamp = DateTime.now().millisecondsSinceEpoch;_logger.info("Showing lock screen $source $currentTimestamp");try {