Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-27 15:02:09 +08:00
parent ce006ff9b7
commit ecdada7244
2 changed files with 6 additions and 2 deletions

View file

@ -239,7 +239,7 @@ internal class TokenDetailsViewModel @Inject constructor(
showErrorIfDemoModeOrElse {
val status = cryptoCurrencyStatus ?: return@showErrorIfDemoModeOrElse
viewModelScope.launch(dispatchers.io) {
viewModelScope.launch(dispatchers.main) {
reduxStateHolder.dispatch(
TradeCryptoAction.New.Buy(
userWallet = getUserWalletUseCase(userWalletId).getOrElse { return@launch },