Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Suggestion yes no button in row not column

laurensprieme188382f09f3
diff --git a/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart b/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart
index 0a8c971559..5e41112fc5 100644
--- a/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart
+++ b/mobile/lib/ui/viewer/people/person_cluster_suggestion.dart
@@ -243,33 +243,36 @@ class _PersonClustersState extends State<PersonReviewClusterSuggestion> {
), // Add some spacing between the thumbnail and the text
Padding(
padding: const EdgeInsets.symmetric(horizontal: 24.0),
- child: Column(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ child: Row(
children: <Widget>[
- ButtonWidget(
- buttonType: ButtonType.primary,
- labelText: 'Yes, confirm',
- buttonSize: ButtonSize.large,
- onTap: () async => {
- await _handleUserClusterChoice(
- clusterID,
- true,
- numberOfSuggestions,
- ),
- },
+ Expanded(
+ child: ButtonWidget(
+ buttonType: ButtonType.critical,
+ labelText: 'No',
+ buttonSize: ButtonSize.large,
+ onTap: () async => {
+ await _handleUserClusterChoice(
+ clusterID,
+ false,
+ numberOfSuggestions,
+ ),
+ },
+ ),
),
- const SizedBox(height: 12.0), // Add some spacing
- ButtonWidget(
- buttonType: ButtonType.critical,
- labelText: 'No',
- buttonSize: ButtonSize.large,
- onTap: () async => {
- await _handleUserClusterChoice(
- clusterID,
- false,
- numberOfSuggestions,
- ),
- },
+ const SizedBox(width: 12.0),
+ Expanded(
+ child: ButtonWidget(
+ buttonType: ButtonType.primary,
+ labelText: 'Yes',
+ buttonSize: ButtonSize.large,
+ onTap: () async => {
+ await _handleUserClusterChoice(
+ clusterID,
+ true,
+ numberOfSuggestions,
+ ),
+ },
+ ),
),
],
),