Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-22 12:31:40 +05:00
parent 32ae17c016
commit d594af91fc
18 changed files with 45 additions and 13 deletions

View file

@ -108,6 +108,7 @@ internal class AvailableToAddDataConverter @Inject constructor(
): CryptoCurrency? {
val derivationIndex = when (account) {
is Account.CryptoPortfolio -> account.derivationIndex
is Account.Payment -> TODO("[REDACTED_JIRA]")
}
return getTokenMarketCryptoCurrency(
userWalletId = userWallet.walletId,

View file

@ -96,6 +96,7 @@ internal class AddTokenModel @Inject constructor(
is Account.CryptoPortfolio -> if (!account.isMainAccount) {
analyticsEventHandler.send(analyticsEventBuilder.addToNotMainAccount())
}
is Account.Payment -> TODO("[REDACTED_JIRA]")
}
params.callbacks.onTokenAdded(status.status)
}

View file

@ -271,6 +271,7 @@ internal class NewMarketsPortfolioDelegate @AssistedInject constructor(
name = this.accountName.toUM().value,
icon = when (this) {
is Account.CryptoPortfolio -> this.icon.toUM()
is Account.Payment -> TODO("[REDACTED_JIRA]")
},
),
)