Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-16 19:08:38 +05:00
parent f0898f2873
commit 2e8d0bc03b
9 changed files with 132 additions and 82 deletions

View file

@ -216,12 +216,14 @@ private val PreviewExpressTransactionState: ExpressTransactionStateUM = object :
toAmountSymbol = "BTC",
toCurrencyIcon = CurrencyIconState.Loading,
toAddress = "0x",
toAmountDecimals = 2,
fromAmount = stringReference("100 SOL"),
fromAmountValue = "100".toBigDecimal(),
fromFiatAmount = null,
fromAmountSymbol = "SOL",
fromCurrencyIcon = CurrencyIconState.Loading,
fromAddress = "0x",
fromAmountDecimals = 2,
)
}
// endregion

View file

@ -40,11 +40,13 @@ data class ExpressTransactionStateInfoUM(
val toAmount: TextReference,
val toAmountValue: BigDecimal,
val toFiatAmount: TextReference?,
val toAmountDecimals: Int,
val toAmountSymbol: String,
val toCurrencyIcon: CurrencyIconState,
val toAddress: String,
val fromAmount: TextReference,
val fromAmountValue: BigDecimal,
val fromAmountDecimals: Int,
val fromFiatAmount: TextReference?,
val fromAmountSymbol: String,
val fromCurrencyIcon: CurrencyIconState,