Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-16 17:59:04 +03:00
parent 2059c817fa
commit b32cc4a928
6 changed files with 49 additions and 71 deletions

View file

@ -23,6 +23,7 @@ internal object TokenMarketListConverter : Converter<TokenMarketListResponse, Li
symbol = token.symbol,
marketRating = token.marketRating,
marketCap = token.marketCap,
isUnderMarketCapLimit = token.isUnderMarketCapLimit ?: false,
imageHost = imageHost,
tokenQuotesShort = TokenQuotesShort(
currentPrice = token.currentPrice,
@ -30,7 +31,7 @@ internal object TokenMarketListConverter : Converter<TokenMarketListResponse, Li
weekChangePercent = token.priceChangePercentage.week1.movePointLeft(2),
monthChangePercent = token.priceChangePercentage.day30.movePointLeft(2),
),
tokenCharts = TokenMarket.Charts(null, null, null),
tokenCharts = TokenMarket.Charts(h24 = null, week = null, month = null),
)
}
}