mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
disable problematic Expand()s
This commit is contained in:
parent
bafc4d302f
commit
45d21c2304
2 changed files with 42 additions and 37 deletions
|
@ -166,21 +166,23 @@ class _FusionProgressViewState extends ConsumerState<FusionProgressView> {
|
||||||
walletId: widget.walletId,
|
walletId: widget.walletId,
|
||||||
),
|
),
|
||||||
if (_succeeded)
|
if (_succeeded)
|
||||||
Expanded(
|
/*Expanded(
|
||||||
child: PrimaryButton(
|
child: */
|
||||||
|
PrimaryButton(
|
||||||
buttonHeight: ButtonHeight.m,
|
buttonHeight: ButtonHeight.m,
|
||||||
label: "Fuse again",
|
label: "Fuse again",
|
||||||
onPressed: () => _fuseAgain,
|
onPressed: () => _fuseAgain,
|
||||||
),
|
),
|
||||||
),
|
// ),
|
||||||
if (_failed)
|
if (_failed)
|
||||||
Expanded(
|
/*Expanded(
|
||||||
child: 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(
|
||||||
height: 16,
|
height: 16,
|
||||||
|
|
|
@ -184,8 +184,9 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
if (_fusionRoundsCompleted > 0)
|
if (_fusionRoundsCompleted > 0)
|
||||||
Expanded(
|
/*Expanded(
|
||||||
child: RoundedContainer(
|
child: */
|
||||||
|
RoundedContainer(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.extension<StackColors>()!
|
.extension<StackColors>()!
|
||||||
.snackBarBackInfo,
|
.snackBarBackInfo,
|
||||||
|
@ -199,7 +200,7 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
// ),
|
||||||
if (_fusionRoundsCompleted > 0)
|
if (_fusionRoundsCompleted > 0)
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 20,
|
height: 20,
|
||||||
|
@ -213,25 +214,27 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
if (_succeeded)
|
if (_succeeded)
|
||||||
Expanded(
|
/*Expanded(
|
||||||
child: PrimaryButton(
|
child: */
|
||||||
|
PrimaryButton(
|
||||||
buttonHeight: ButtonHeight.m,
|
buttonHeight: ButtonHeight.m,
|
||||||
label: "Fuse again",
|
label: "Fuse again",
|
||||||
onPressed: () => _fuseAgain,
|
onPressed: () => _fuseAgain,
|
||||||
),
|
),
|
||||||
),
|
// ),
|
||||||
if (_succeeded)
|
if (_succeeded)
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 16,
|
width: 16,
|
||||||
),
|
),
|
||||||
if (_failed)
|
if (_failed)
|
||||||
Expanded(
|
/*Expanded(
|
||||||
child: PrimaryButton(
|
child: */
|
||||||
|
PrimaryButton(
|
||||||
buttonHeight: ButtonHeight.m,
|
buttonHeight: ButtonHeight.m,
|
||||||
label: "Try again",
|
label: "Try again",
|
||||||
onPressed: () => _fuseAgain,
|
onPressed: () => _fuseAgain,
|
||||||
),
|
),
|
||||||
),
|
// ),
|
||||||
if (_failed)
|
if (_failed)
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 16,
|
width: 16,
|
||||||
|
|
Loading…
Reference in a new issue