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