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) {
|
||||
switch (fusionStatus) {
|
||||
case fusion.FusionStatus.setup:
|
||||
_uiState?.connecting = CashFusionStatus.waiting;
|
||||
_uiState?.outputs = CashFusionStatus.waiting;
|
||||
break;
|
||||
case fusion.FusionStatus.waiting:
|
||||
_uiState?.connecting = CashFusionStatus.waiting;
|
||||
_uiState?.outputs = CashFusionStatus.success;
|
||||
break;
|
||||
case fusion.FusionStatus.connecting:
|
||||
_uiState?.connecting = CashFusionStatus.waiting;
|
||||
break;
|
||||
case fusion.FusionStatus.running:
|
||||
_uiState?.connecting = CashFusionStatus.success;
|
||||
_uiState?.fusing = CashFusionStatus.fusing;
|
||||
break;
|
||||
case fusion.FusionStatus.complete:
|
||||
|
|
Loading…
Reference in a new issue