π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reset wrong password text input state
Neeraj Guptad721838b0e17
diff --git a/mobile/apps/photos/lib/ui/components/text_input_widget.dart b/mobile/apps/photos/lib/ui/components/text_input_widget.dartindex ec2db6e60c..2b91453311 100644--- a/mobile/apps/photos/lib/ui/components/text_input_widget.dart+++ b/mobile/apps/photos/lib/ui/components/text_input_widget.dart@@ -287,6 +287,7 @@ class _TextInputWidgetState extends State<TextInputWidget> {_exception = e is Exception ? e : Exception(e.toString());if (e.toString().contains("Incorrect password")) {_logger.warning("Incorrect password");+ executionState = ExecutionState.idle;_surfaceWrongPasswordState();return;}diff --git a/mobile/apps/photos/lib/ui/components/text_input_widget_v2.dart b/mobile/apps/photos/lib/ui/components/text_input_widget_v2.dartindex f56afd6e2d..4911c7a872 100644--- a/mobile/apps/photos/lib/ui/components/text_input_widget_v2.dart+++ b/mobile/apps/photos/lib/ui/components/text_input_widget_v2.dart@@ -543,6 +543,8 @@ class _TextInputWidgetV2State extends State<TextInputWidgetV2>_exception = e is Exception ? e : Exception(e.toString());if (e.toString().contains('Incorrect password')) {_logger.warning('Incorrect password');+ _executionState = ExecutionState.idle;+ _syncLoadingController();_surfaceWrongPasswordState();return;}