Skip to content

armgit / ente

Public Imported from GitHub
0

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

Improve capitalization for code and name inputs

Neeraj Gupta2a50c1a086f1
diff --git a/mobile/apps/photos/lib/ui/cast/pair_with_code.dart b/mobile/apps/photos/lib/ui/cast/pair_with_code.dart
index c4ae6b9196..62e980045b 100644
--- a/mobile/apps/photos/lib/ui/cast/pair_with_code.dart
+++ b/mobile/apps/photos/lib/ui/cast/pair_with_code.dart
@@ -86,6 +86,7 @@ class _PairWithCodeSheetState extends State<_PairWithCodeSheet> {
autofocus: true,
hintText: l10n.pairUsingCode,
keyboardType: .streetAddress,
+ textCapitalization: .characters,
),
ButtonComponent(
label: l10n.pair,
diff --git a/mobile/apps/photos/lib/ui/viewer/people/save_or_edit_person.dart b/mobile/apps/photos/lib/ui/viewer/people/save_or_edit_person.dart
index 9ae3aa4ab4..86385a5a2d 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/save_or_edit_person.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/save_or_edit_person.dart
@@ -187,7 +187,6 @@ class _SaveOrEditPersonState extends State<SaveOrEditPerson> {
hintText: context.strings.enterName,
initialValue: widget.person?.data.name,
focusNode: _nameFocsNode,
- keyboardType: TextInputType.name,
textCapitalization: TextCapitalization.words,
autocorrect: false,
isRequired: true,