fix(@desktop/wallet): Wallet balance is 0 when enabling multinetwork toggle
fixes y
This commit is contained in:
parent
954acf0df4
commit
0e1357b78e
|
@ -98,6 +98,9 @@ method load*(self: Module) =
|
|||
var args = DerivedAddressesArgs(e)
|
||||
self.view.setDerivedAddresses(args.derivedAddresses, args.error)
|
||||
|
||||
self.events.on(SIGNAL_WALLET_ACCOUNT_TOKENS_REBUILT) do(e:Args):
|
||||
self.refreshWalletAccounts()
|
||||
|
||||
self.controller.init()
|
||||
self.view.load()
|
||||
|
||||
|
|
|
@ -107,6 +107,8 @@ method load*(self: Module) =
|
|||
self.setTotalCurrencyBalance()
|
||||
self.events.on(SIGNAL_WALLET_ACCOUNT_NETWORK_ENABLED_UPDATED) do(e:Args):
|
||||
self.setTotalCurrencyBalance()
|
||||
self.events.on(SIGNAL_WALLET_ACCOUNT_TOKENS_REBUILT) do(e:Args):
|
||||
self.setTotalCurrencyBalance()
|
||||
|
||||
self.controller.init()
|
||||
self.view.load()
|
||||
|
|
Loading…
Reference in New Issue