Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix stroke and update keyname

AmanRajSinghMourya8d08c72ce6cf
diff --git a/mobile/apps/photos/lib/models/metadata/collection_magic.dart b/mobile/apps/photos/lib/models/metadata/collection_magic.dart
index 52bdeda493..3a84184e0a 100644
--- a/mobile/apps/photos/lib/models/metadata/collection_magic.dart
+++ b/mobile/apps/photos/lib/models/metadata/collection_magic.dart
@@ -13,7 +13,7 @@ const muteKey = "mute";
const orderKey = "order";
-const albumDescriptionKey = "description";
+const albumDescriptionKey = "caption";
const maxAlbumDescriptionLength = 200;
class CollectionMagicMetadata {
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/hooks/edit_album_details_sheet.dart b/mobile/apps/photos/lib/ui/viewer/gallery/hooks/edit_album_details_sheet.dart
index cf817ebd4a..171f22d64f 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/hooks/edit_album_details_sheet.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/hooks/edit_album_details_sheet.dart
@@ -163,7 +163,7 @@ class _EditAlbumDetailsSheetState extends State<EditAlbumDetailsSheet> {
key: const ValueKey("album_name_input"),
controller: _nameController,
focusNode: _nameFocusNode,
- label: strings.name,
+ label: strings.albumName,
textCapitalization: TextCapitalization.words,
textInputAction: TextInputAction.next,
onChanged: (_) => setState(() {}),
diff --git a/mobile/packages/ente_components/lib/components/text_input_component.dart b/mobile/packages/ente_components/lib/components/text_input_component.dart
index 45b393bd53..49ad9bdf92 100644
--- a/mobile/packages/ente_components/lib/components/text_input_component.dart
+++ b/mobile/packages/ente_components/lib/components/text_input_component.dart
@@ -255,7 +255,7 @@ class _TextInputComponentState extends State<TextInputComponent> {
children: [
Text(
widget.label!,
- style: TextStyles.bodyBold.copyWith(color: _labelColor(colors)),
+ style: TextStyles.body.copyWith(color: _labelColor(colors)),
),
if (widget.isRequired) ...[
const SizedBox(width: 2),
diff --git a/mobile/packages/strings/lib/l10n/arb/strings_en.arb b/mobile/packages/strings/lib/l10n/arb/strings_en.arb
index c4bd5c60f7..ac2cbff6d2 100644
--- a/mobile/packages/strings/lib/l10n/arb/strings_en.arb
+++ b/mobile/packages/strings/lib/l10n/arb/strings_en.arb
@@ -210,6 +210,7 @@
"albumDescriptionHint": "Enter a description for this album",
"albumEditsWillNotBeSaved": "Your edits to this album won't be saved.",
"albumLayout": "Album layout",
+ "albumName": "Album name",
"albumOwner": "Owner",
"@albumOwner": {
"description": "Role of the album owner"