Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-11 11:30:58 +05:00
parent 33c331f529
commit b2b0b3cc72
14 changed files with 144 additions and 79 deletions

View file

@ -1647,8 +1647,7 @@ internal class SwapModel @Inject constructor(
private fun onTangemPaySupportClick(txId: String?) {
modelScope.launch {
val metaInfo = getWalletMetaInfoUseCase(userWallet.walletId)
.getOrElse { error("CardInfo must be not null") }
val metaInfo = getWalletMetaInfoUseCase(userWallet.walletId).getOrNull() ?: return@launch
val email = FeedbackEmailType.Visa.Withdrawal(
walletMetaInfo = metaInfo,
providerName = dataState.selectedProvider?.name.orEmpty(),