Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-04 16:27:57 +03:00
parent 69f3fa4c0f
commit 5182335ce4
2 changed files with 5 additions and 5 deletions

View file

@ -125,10 +125,10 @@ class TangemPayMainScreenCustomerInfoUseCase(
}
private fun VisaApiError.mapErrorForCustomer(): TangemPayCustomerInfoError {
return if (this !is VisaApiError.NotPaeraCustomer) {
TangemPayCustomerInfoError.UnavailableError
} else {
TangemPayCustomerInfoError.UnknownError
return when (this) {
is VisaApiError.RefreshTokenExpired -> TangemPayCustomerInfoError.RefreshNeededError
is VisaApiError.NotPaeraCustomer -> TangemPayCustomerInfoError.UnknownError
else -> TangemPayCustomerInfoError.UnavailableError
}
}
}

View file

@ -49,7 +49,7 @@ internal fun TangemPayCardMainBlock(
verticalArrangement = Arrangement.Center,
) {
Text(
text = stringResourceSafe(R.string.tangempay_kyc_card_ready_notification_title),
text = stringResourceSafe(R.string.tangempay_payment_account),
style = TangemTheme.typography.subtitle2,
color = TangemTheme.colors.text.primary1,
)