π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Improve TextInput Widget
ashilkn70191d752b11
diff --git a/mobile/lib/ui/components/dialog_widget.dart b/mobile/lib/ui/components/dialog_widget.dartindex 2d8fe96b75..0dbf491177 100644--- a/mobile/lib/ui/components/dialog_widget.dart+++ b/mobile/lib/ui/components/dialog_widget.dart@@ -282,7 +282,7 @@ class _TextInputDialogState extends State<TextInputDialog> {isPasswordInput: widget.isPasswordInput,textEditingController: _textEditingController,textInputFormatter: widget.textInputFormatter,- textInputType: widget.textInputType,+ keyboardType: widget.textInputType,),),const SizedBox(height: 36),diff --git a/mobile/lib/ui/components/text_input_widget.dart b/mobile/lib/ui/components/text_input_widget.dartindex 5b3787035d..965de67c48 100644--- a/mobile/lib/ui/components/text_input_widget.dart+++ b/mobile/lib/ui/components/text_input_widget.dart@@ -48,8 +48,9 @@ class TextInputWidget extends StatefulWidget {final TextEditingController? textEditingController;final ValueNotifier? isEmptyNotifier;final List<TextInputFormatter>? textInputFormatter;- final TextInputType? textInputType;+ final TextInputType? keyboardType;final bool enableFillColor;+ final bool autoCorrect;const TextInputWidget({this.onSubmit,this.onChange,@@ -77,8 +78,9 @@ class TextInputWidget extends StatefulWidget {this.textEditingController,this.isEmptyNotifier,this.textInputFormatter,- this.textInputType,+ this.keyboardType,this.enableFillColor = true,+ this.autoCorrect = true,super.key,});@@ -155,7 +157,7 @@ class _TextInputWidgetState extends State<TextInputWidget> {borderRadius: BorderRadius.all(Radius.circular(widget.borderRadius)),child: Material(child: TextFormField(- keyboardType: widget.textInputType,+ keyboardType: widget.keyboardType,textCapitalization: widget.textCapitalization!,autofocus: widget.autoFocus ?? false,autofillHints:@@ -223,6 +225,7 @@ class _TextInputWidgetState extends State<TextInputWidget> {onEditingComplete: () {_onSubmit();},+ autocorrect: widget.autoCorrect,),),),