mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
mobile button layout fixes
This commit is contained in:
parent
87802b2a59
commit
5edfafae4f
1 changed files with 19 additions and 13 deletions
|
@ -177,22 +177,28 @@ class _FusionProgressViewState extends ConsumerState<FusionProgressView> {
|
||||||
FusionProgress(
|
FusionProgress(
|
||||||
walletId: widget.walletId,
|
walletId: widget.walletId,
|
||||||
),
|
),
|
||||||
if (_succeeded)
|
const Spacer(),
|
||||||
PrimaryButton(
|
|
||||||
buttonHeight: ButtonHeight.m,
|
|
||||||
label: "Fuse again",
|
|
||||||
onPressed: () => _fuseAgain,
|
|
||||||
),
|
|
||||||
if (_failed)
|
|
||||||
PrimaryButton(
|
|
||||||
buttonHeight: ButtonHeight.m,
|
|
||||||
label: "Try again",
|
|
||||||
onPressed: () => _fuseAgain,
|
|
||||||
),
|
|
||||||
if (!_succeeded && !_failed) const Spacer(),
|
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 16,
|
height: 16,
|
||||||
),
|
),
|
||||||
|
if (_succeeded)
|
||||||
|
PrimaryButton(
|
||||||
|
label: "Fuse again",
|
||||||
|
onPressed: () => _fuseAgain,
|
||||||
|
),
|
||||||
|
if (_succeeded)
|
||||||
|
const SizedBox(
|
||||||
|
height: 16,
|
||||||
|
),
|
||||||
|
if (_failed)
|
||||||
|
PrimaryButton(
|
||||||
|
label: "Try again",
|
||||||
|
onPressed: () => _fuseAgain,
|
||||||
|
),
|
||||||
|
if (_failed)
|
||||||
|
const SizedBox(
|
||||||
|
height: 16,
|
||||||
|
),
|
||||||
SecondaryButton(
|
SecondaryButton(
|
||||||
label: "Cancel",
|
label: "Cancel",
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
|
|
Loading…
Reference in a new issue