Updated on 2026-08-14
This commit is contained in:
parent
64a40de825
commit
248dab7303
1 changed files with 3 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ internal class ManageTokensListManager @Inject constructor(
|
|||
}
|
||||
|
||||
suspend fun reload(userWalletId: UserWalletId?) {
|
||||
state.value = ManageTokensListState()
|
||||
actionsFlow.emit(
|
||||
BatchAction.Reload(
|
||||
requestParams = ManageTokensListConfig(userWalletId, searchText = null),
|
||||
|
|
@ -166,6 +167,8 @@ internal class ManageTokensListManager @Inject constructor(
|
|||
override fun removeCustomCurrency(userWalletId: UserWalletId, currency: ManagedCryptoCurrency.Custom) {
|
||||
scope.launch {
|
||||
removeCustomCurrencyUseCase.invoke(userWalletId, currency)
|
||||
.onRight { reload(userWalletId) }
|
||||
.onLeft { Timber.e(it) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue