From 5edfafae4f5ee6522b4a238ec9c7e3fb26800b1c Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 24 Oct 2023 16:11:53 -0600 Subject: [PATCH] mobile button layout fixes --- .../cashfusion/fusion_progress_view.dart | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/lib/pages/cashfusion/fusion_progress_view.dart b/lib/pages/cashfusion/fusion_progress_view.dart index a021753c0..4363a0461 100644 --- a/lib/pages/cashfusion/fusion_progress_view.dart +++ b/lib/pages/cashfusion/fusion_progress_view.dart @@ -177,22 +177,28 @@ class _FusionProgressViewState extends ConsumerState { FusionProgress( walletId: widget.walletId, ), - if (_succeeded) - PrimaryButton( - buttonHeight: ButtonHeight.m, - label: "Fuse again", - onPressed: () => _fuseAgain, - ), - if (_failed) - PrimaryButton( - buttonHeight: ButtonHeight.m, - label: "Try again", - onPressed: () => _fuseAgain, - ), - if (!_succeeded && !_failed) const Spacer(), + const Spacer(), const SizedBox( height: 16, ), + if (_succeeded) + PrimaryButton( + label: "Fuse again", + onPressed: () => _fuseAgain, + ), + if (_succeeded) + const SizedBox( + height: 16, + ), + if (_failed) + PrimaryButton( + label: "Try again", + onPressed: () => _fuseAgain, + ), + if (_failed) + const SizedBox( + height: 16, + ), SecondaryButton( label: "Cancel", onPressed: () async {