diff --git a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsSwapTransactionsStateConverter.kt b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsSwapTransactionsStateConverter.kt index 15523c353c..d640fc414e 100644 --- a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsSwapTransactionsStateConverter.kt +++ b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsSwapTransactionsStateConverter.kt @@ -219,7 +219,6 @@ internal class TokenDetailsSwapTransactionsStateConverter( isSending = isSending, isSendingDone = isSendingDone, isRefunded = isRefunded, - hasFailed = hasFailed, ), ) } @@ -302,8 +301,8 @@ internal class TokenDetailsSwapTransactionsStateConverter( ) } - private fun sendStep(isSending: Boolean, isSendingDone: Boolean, isRefunded: Boolean, hasFailed: Boolean) = when { - hasFailed || isRefunded -> ExchangeStatusState( + private fun sendStep(isSending: Boolean, isSendingDone: Boolean, isRefunded: Boolean) = when { + isRefunded -> ExchangeStatusState( status = ExchangeStatus.Refunded, text = TextReference.Res(R.string.express_exchange_status_refunded), isActive = false,