mobile button layout fixes

This commit is contained in:
julian 2023-10-24 16:11:53 -06:00
parent 87802b2a59
commit 5edfafae4f

View file

@ -177,19 +177,25 @@ class _FusionProgressViewState extends ConsumerState<FusionProgressView> {
FusionProgress(
walletId: widget.walletId,
),
const Spacer(),
const SizedBox(
height: 16,
),
if (_succeeded)
PrimaryButton(
buttonHeight: ButtonHeight.m,
label: "Fuse again",
onPressed: () => _fuseAgain,
),
if (_succeeded)
const SizedBox(
height: 16,
),
if (_failed)
PrimaryButton(
buttonHeight: ButtonHeight.m,
label: "Try again",
onPressed: () => _fuseAgain,
),
if (!_succeeded && !_failed) const Spacer(),
if (_failed)
const SizedBox(
height: 16,
),