[mob][photos] Suggestion yes no button in row not column
This commit is contained in:
parent
75f0b0481b
commit
e188382f09
1 changed files with 28 additions and 25 deletions
|
@ -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,
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue