This commit is contained in:
Mohan 2025-10-28 00:33:47 +01:00 committed by GitHub
parent 6db365bf23
commit c3f3623b6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 375 additions and 221 deletions

View file

@ -3,11 +3,11 @@ import { TauriEvent } from "models/tauriModel";
import {
contextStatusEventReceived,
contextInitializationFailed,
rpcSetBalance,
timelockChangeEventReceived,
approvalEventReceived,
backgroundProgressEventReceived,
} from "store/features/rpcSlice";
import { setBitcoinBalance } from "store/features/bitcoinWalletSlice";
import { receivedCliLog } from "store/features/logsSlice";
import { poolStatusReceived } from "store/features/poolSlice";
import { swapProgressEventReceived } from "store/features/swapSlice";
@ -118,7 +118,7 @@ listen<TauriEvent>(TAURI_UNIFIED_EVENT_CHANNEL_NAME, (event) => {
break;
case "BalanceChange":
store.dispatch(rpcSetBalance(eventData.balance));
store.dispatch(setBitcoinBalance(eventData.balance));
break;
case "SwapDatabaseStateUpdate":