Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-01 14:05:02 +05:00
parent 1d930e2fa5
commit f9ab1f339b

View file

@ -95,7 +95,7 @@ internal class DefaultNFTRepository @Inject constructor(
val salePrice = sdkPrice?.let { val salePrice = sdkPrice?.let {
val convertedPrice = salePriceConverter.convert(sdkPrice) val convertedPrice = salePriceConverter.convert(sdkPrice)
convertedPrice.copy( convertedPrice.copy(
value = convertedPrice.value.movePointLeft(nftCurrency.decimals), value = convertedPrice.value,
decimals = nftCurrency.decimals, decimals = nftCurrency.decimals,
symbol = nftCurrency.symbol, symbol = nftCurrency.symbol,
) )
@ -459,7 +459,7 @@ internal class DefaultNFTRepository @Inject constructor(
val nftCurrency = getNFTCurrency(network) val nftCurrency = getNFTCurrency(network)
NFTSalePrice.Value( NFTSalePrice.Value(
assetId = assetId, assetId = assetId,
value = price.value.movePointLeft(nftCurrency.decimals), value = price.value,
fiatValue = null, fiatValue = null,
symbol = nftCurrency.symbol, symbol = nftCurrency.symbol,
decimals = nftCurrency.decimals, decimals = nftCurrency.decimals,