Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix

AmanRajSinghMouryaa73d6a154c3c
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.dart
index e758eaaadf..1541778cc8 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
@@ -348,8 +348,10 @@ class _TextInputWidgetV2State extends State<TextInputWidgetV2>
textCapitalization: widget.textCapitalization!,
autofocus: widget.autoFocus ?? false,
autocorrect: widget.autoCorrect,
- maxLines: widget.maxLines ?? (_isMultiline ? null : 1),
- minLines: widget.minLines,
+ maxLines: widget.isPasswordInput
+ ? 1
+ : widget.maxLines ?? (_isMultiline ? null : 1),
+ minLines: widget.isPasswordInput ? null : widget.minLines,
autofillHints: widget.autofillHints ??
(widget.isPasswordInput
? const [AutofillHints.password]