Updated on 2026-08-14
This commit is contained in:
parent
db455c0bca
commit
e5c5891b64
1 changed files with 4 additions and 3 deletions
|
|
@ -127,12 +127,13 @@ class MultiWalletMiddleware {
|
|||
)
|
||||
}
|
||||
is Currency.Token -> {
|
||||
walletState?.getWalletManager(currency)?.let {
|
||||
it.removeToken(currency.token)
|
||||
val walletManager = walletState?.getWalletManager(currency)
|
||||
if (walletManager != null) {
|
||||
walletManager.removeToken(currency.token)
|
||||
currenciesRepository.removeToken(
|
||||
cardId = cardId,
|
||||
token = currency.token,
|
||||
blockchainNetwork = BlockchainNetwork.fromWalletManager(it)
|
||||
blockchainNetwork = BlockchainNetwork.fromWalletManager(walletManager)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue