mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
WIP ui state updates
This commit is contained in:
parent
75a84c740f
commit
3266b623b6
1 changed files with 3 additions and 2 deletions
|
@ -89,15 +89,16 @@ mixin FusionWalletInterface {
|
||||||
void _updateStatus(fusion.FusionStatus fusionStatus) {
|
void _updateStatus(fusion.FusionStatus fusionStatus) {
|
||||||
switch (fusionStatus) {
|
switch (fusionStatus) {
|
||||||
case fusion.FusionStatus.setup:
|
case fusion.FusionStatus.setup:
|
||||||
_uiState?.connecting = CashFusionStatus.waiting;
|
_uiState?.outputs = CashFusionStatus.waiting;
|
||||||
break;
|
break;
|
||||||
case fusion.FusionStatus.waiting:
|
case fusion.FusionStatus.waiting:
|
||||||
_uiState?.connecting = CashFusionStatus.waiting;
|
_uiState?.outputs = CashFusionStatus.success;
|
||||||
break;
|
break;
|
||||||
case fusion.FusionStatus.connecting:
|
case fusion.FusionStatus.connecting:
|
||||||
_uiState?.connecting = CashFusionStatus.waiting;
|
_uiState?.connecting = CashFusionStatus.waiting;
|
||||||
break;
|
break;
|
||||||
case fusion.FusionStatus.running:
|
case fusion.FusionStatus.running:
|
||||||
|
_uiState?.connecting = CashFusionStatus.success;
|
||||||
_uiState?.fusing = CashFusionStatus.fusing;
|
_uiState?.fusing = CashFusionStatus.fusing;
|
||||||
break;
|
break;
|
||||||
case fusion.FusionStatus.complete:
|
case fusion.FusionStatus.complete:
|
||||||
|
|
Loading…
Reference in a new issue