Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
fix: modal button alignment (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed May 13, 2021
1 parent 425528b commit 5de6611
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/share/view/share_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ class _ConfirmationDialogContent extends StatelessWidget {
),
const SizedBox(height: 24),
Wrap(
alignment: WrapAlignment.center,
spacing: 24,
runSpacing: 24,
children: [
OutlinedButton(
Expand All @@ -136,7 +138,6 @@ class _ConfirmationDialogContent extends StatelessWidget {
),
),
),
const SizedBox(width: 24),
ElevatedButton(
key: const Key('sharePage_retakeConfirm_elevatedButton'),
onPressed: () => Navigator.of(context).pop(true),
Expand Down
6 changes: 4 additions & 2 deletions lib/stickers/view/stickers_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ class _RetakeConfirmationDialogContent extends StatelessWidget {
),
const SizedBox(height: 24),
Wrap(
alignment: WrapAlignment.center,
spacing: 24,
runSpacing: 24,
children: [
OutlinedButton(
Expand All @@ -271,7 +273,6 @@ class _RetakeConfirmationDialogContent extends StatelessWidget {
),
),
),
const SizedBox(width: 24),
ElevatedButton(
onPressed: () => Navigator.of(context).pop(true),
child: Text(
Expand Down Expand Up @@ -345,6 +346,8 @@ class _NextConfirmationDialogContent extends StatelessWidget {
),
const SizedBox(height: 24),
Wrap(
alignment: WrapAlignment.center,
spacing: 24,
runSpacing: 24,
children: [
OutlinedButton(
Expand All @@ -359,7 +362,6 @@ class _NextConfirmationDialogContent extends StatelessWidget {
),
),
),
const SizedBox(width: 24),
ElevatedButton(
onPressed: () => Navigator.of(context).pop(true),
child: Text(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ClearStickersDialog extends StatelessWidget {
),
const SizedBox(height: 48),
Wrap(
alignment: WrapAlignment.center,
spacing: 30,
runSpacing: 15,
children: [
Expand Down

0 comments on commit 5de6611

Please sign in to comment.