Skip to content

Commit

Permalink
fix(mobile): missing "Add name" translation (#8087)
Browse files Browse the repository at this point in the history
fix(mobile): missing "Add name" translation, positioning
  • Loading branch information
waclaw66 authored Mar 20, 2024
1 parent c4e910d commit 5e09064
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions mobile/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"exif_bottom_sheet_location": "LOCATION",
"exif_bottom_sheet_location_add": "Add a location",
"exif_bottom_sheet_people": "PEOPLE",
"exif_bottom_sheet_person_add_person": "Add name",
"experimental_settings_new_asset_list_subtitle": "Work in progress",
"experimental_settings_new_asset_list_title": "Enable experimental photo grid",
"experimental_settings_subtitle": "Use at your own risk!",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ExifMap extends StatelessWidget {
}

return Padding(
padding: const EdgeInsets.symmetric(vertical: 16.0),
padding: const EdgeInsets.symmetric(vertical: 8.0),
child: LayoutBuilder(
builder: (context, constraints) {
return MapThumbnail(
Expand Down
7 changes: 4 additions & 3 deletions mobile/lib/modules/search/ui/curated_people_row.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:immich_mobile/extensions/build_context_extensions.dart';
import 'package:immich_mobile/modules/search/models/curated_content.dart';
import 'package:immich_mobile/modules/search/ui/thumbnail_with_info.dart';
Expand All @@ -23,7 +24,7 @@ class CuratedPeopleRow extends StatelessWidget {

@override
Widget build(BuildContext context) {
const imageSize = 80.0;
const imageSize = 70.0;

// Guard empty [content]
if (content.isEmpty) {
Expand Down Expand Up @@ -82,11 +83,11 @@ class CuratedPeopleRow extends StatelessWidget {
child: Padding(
padding: const EdgeInsets.only(top: 8.0),
child: Text(
"Add name",
"exif_bottom_sheet_person_add_person",
style: context.textTheme.labelLarge?.copyWith(
color: context.primaryColor,
),
),
).tr(),
),
)
else
Expand Down

0 comments on commit 5e09064

Please sign in to comment.