Updated on 2026-08-14
This commit is contained in:
parent
69f3fa4c0f
commit
5182335ce4
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue