From 3266b623b6edd4dd436d7bd4c3dcf2b83bb78757 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Fri, 13 Oct 2023 12:50:21 -0500 Subject: [PATCH] WIP ui state updates --- lib/services/mixins/fusion_wallet_interface.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/services/mixins/fusion_wallet_interface.dart b/lib/services/mixins/fusion_wallet_interface.dart index 9d0d91faa..468a75809 100644 --- a/lib/services/mixins/fusion_wallet_interface.dart +++ b/lib/services/mixins/fusion_wallet_interface.dart @@ -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: