π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fixes
AmanRajSinghMouryafb1ba4bbe0e3
diff --git a/mobile/apps/locker/lib/ui/components/input_sheet.dart b/mobile/apps/locker/lib/ui/components/input_sheet.dartindex a794d011b4..ad6178907e 100644--- a/mobile/apps/locker/lib/ui/components/input_sheet.dart+++ b/mobile/apps/locker/lib/ui/components/input_sheet.dart@@ -61,9 +61,11 @@ class _InputSheetState extends State<InputSheet> {}Future<void> _onSubmit() async {- final text = _textController.text.trim();+ final text = widget.isPasswordInput+ ? _textController.text+ : _textController.text.trim();- if (text.isEmpty || _isSubmitting) {+ if (text.trim().isEmpty || _isSubmitting) {return;}