π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Lockscreen Fixes (#2398)
Ashil987cc1c520be
diff --cc mobile/lib/ui/settings/lock_screen/lock_screen_password.dartindex bdce585a40,066aeb713c..5341f21b66--- a/mobile/lib/ui/settings/lock_screen/lock_screen_password.dart+++ b/mobile/lib/ui/settings/lock_screen/lock_screen_password.dart@@@ -210,10 -221,10 +221,10 @@@ class _LockScreenPasswordState extends);return true;} else {- if (widget.isOnOpeningApp) {+ if (widget.isAuthenticatingOnAppLaunch) {invalidAttemptsCount++;+ await _lockscreenSetting.setInvalidAttemptCount(invalidAttemptsCount);if (invalidAttemptsCount > 4) {- await _lockscreenSetting.setInvalidAttemptCount(invalidAttemptsCount);Navigator.of(context).pop(false);}}diff --cc mobile/lib/ui/settings/lock_screen/lock_screen_pin.dartindex 4695fedb20,166f137ab9..2f526751f2--- a/mobile/lib/ui/settings/lock_screen/lock_screen_pin.dart+++ b/mobile/lib/ui/settings/lock_screen/lock_screen_pin.dart@@@ -81,10 -92,10 +92,10 @@@ class _LockScreenPinState extends StateisPinValid = false;});- if (widget.isOnOpeningApp) {+ if (widget.isAuthenticatingOnAppLaunch) {invalidAttemptsCount++;+ await _lockscreenSetting.setInvalidAttemptCount(invalidAttemptsCount);if (invalidAttemptsCount > 4) {- await _lockscreenSetting.setInvalidAttemptCount(invalidAttemptsCount);Navigator.of(context).pop(false);}}