Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-26 19:10:22 +05:00
parent 3fd8b110ef
commit 1d06981060
19 changed files with 190 additions and 42 deletions

View file

@ -61,6 +61,7 @@ internal class TxHistoryItemStateConverter(
is TransactionType.Operation,
is TransactionType.Swap,
is TransactionType.Transfer,
is TransactionType.YieldSupply,
is TransactionType.UnknownOperation,
-> if (isOutgoing) R.drawable.ic_arrow_up_24 else R.drawable.ic_arrow_down_24
}
@ -70,7 +71,9 @@ internal class TxHistoryItemStateConverter(
is TransactionType.Approve -> resourceReference(R.string.common_approval)
is TransactionType.Operation -> stringReference(type.name)
is TransactionType.Swap -> resourceReference(R.string.common_swap)
is TransactionType.Transfer -> resourceReference(R.string.common_transfer)
is TransactionType.YieldSupply,
is TransactionType.Transfer,
-> resourceReference(R.string.common_transfer)
is TransactionType.Staking.Stake -> resourceReference(R.string.common_stake)
is TransactionType.Staking.Unstake -> resourceReference(R.string.common_unstake)
is TransactionType.Staking.Vote -> resourceReference(R.string.staking_vote)