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( FusionProgress(
walletId: widget.walletId, walletId: widget.walletId,
), ),
const Spacer(),
const SizedBox(
height: 16,
),
if (_succeeded) if (_succeeded)
PrimaryButton( PrimaryButton(
buttonHeight: ButtonHeight.m,
label: "Fuse again", label: "Fuse again",
onPressed: () => _fuseAgain, onPressed: () => _fuseAgain,
), ),
if (_succeeded)
const SizedBox(
height: 16,
),
if (_failed) if (_failed)
PrimaryButton( PrimaryButton(
buttonHeight: ButtonHeight.m,
label: "Try again", label: "Try again",
onPressed: () => _fuseAgain, onPressed: () => _fuseAgain,
), ),
if (!_succeeded && !_failed) const Spacer(), if (_failed)
const SizedBox( const SizedBox(
height: 16, height: 16,
), ),