π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Handle wrong password text submissions
Neeraj Guptabab8e4beb344
diff --git a/mobile/apps/photos/lib/ui/components/text_input_widget.dart b/mobile/apps/photos/lib/ui/components/text_input_widget.dartindex 41cc8e7637..ec2db6e60c 100644--- a/mobile/apps/photos/lib/ui/components/text_input_widget.dart+++ b/mobile/apps/photos/lib/ui/components/text_input_widget.dart@@ -288,6 +288,7 @@ class _TextInputWidgetState extends State<TextInputWidget> {if (e.toString().contains("Incorrect password")) {_logger.warning("Incorrect password");_surfaceWrongPasswordState();+ return;}if (!widget.popNavAfterSubmission) {rethrow;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 dc7e31836a..f56afd6e2d 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@@ -544,6 +544,7 @@ class _TextInputWidgetV2State extends State<TextInputWidgetV2>if (e.toString().contains('Incorrect password')) {_logger.warning('Incorrect password');_surfaceWrongPasswordState();+ return;}if (!widget.popNavAfterSubmission) {rethrow;