don't expand all the things

This commit is contained in:
sneurlax 2023-10-24 13:59:09 -05:00
parent d041d9a9ec
commit ae68a85937

View file

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