Skip to content

armgit / ente

Public Imported from GitHub
0

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

Increase tappable area

laurenspriem311b7ef77e61
diff --git a/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart b/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart
index c7638b6223..c171044b1c 100644
--- a/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart
+++ b/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart
@@ -227,15 +227,16 @@ class _PersonClustersState extends State<PersonReviewClusterSuggestion> {
),
],
),
- const SizedBox(height: 12),
+ const SizedBox(height: 4),
GestureDetector(
+ behavior: HitTestBehavior.opaque,
onTap: canGiveFeedback
? () => _saveAsAnotherPerson()
: null,
child: Padding(
padding: const EdgeInsets.symmetric(
- vertical: 8,
- horizontal: 16,
+ vertical: 12,
+ horizontal: 32,
),
child: Text(
S.of(context).saveAsAnotherPerson,
diff --git a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart
index b570c0a41f..80971dccc3 100644
--- a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart
+++ b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart
@@ -454,7 +454,7 @@ class _PersonGallerySuggestionState extends State<PersonGallerySuggestion>
),
const SizedBox(width: 8),
Text(
- "No",
+ S.of(context).no,
style: textTheme.bodyBold.copyWith(
color: colorScheme.warning500,
),
@@ -488,7 +488,7 @@ class _PersonGallerySuggestionState extends State<PersonGallerySuggestion>
),
const SizedBox(width: 8),
Text(
- "Yes",
+ S.of(context).yes,
style: textTheme.bodyBold.copyWith(
color: textBaseDark,
),
@@ -500,13 +500,13 @@ class _PersonGallerySuggestionState extends State<PersonGallerySuggestion>
),
],
),
- const SizedBox(height: 4),
GestureDetector(
+ behavior: HitTestBehavior.opaque,
onTap: isProcessing ? null : () => _saveAsAnotherPerson(),
child: Padding(
padding: const EdgeInsets.symmetric(
- vertical: 8,
- horizontal: 16,
+ vertical: 12,
+ horizontal: 32,
),
child: Text(
S.of(context).saveAsAnotherPerson,