From fe007af4702a0c7382773db0cd7a3de53c7e09b3 Mon Sep 17 00:00:00 2001 From: toluo-stripe Date: Mon, 25 Nov 2024 12:54:30 -0500 Subject: [PATCH] Clean up strings --- link/res/values/strings.xml | 2 -- .../java/com/stripe/android/link/ui/wallet/PaymentDetails.kt | 3 ++- payments-ui-core/res/values/strings.xml | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/link/res/values/strings.xml b/link/res/values/strings.xml index 791f1ea769e..0ec3613db09 100644 --- a/link/res/values/strings.xml +++ b/link/res/values/strings.xml @@ -42,8 +42,6 @@ Not %s? Resend code - - Bank terms.]]> diff --git a/link/src/main/java/com/stripe/android/link/ui/wallet/PaymentDetails.kt b/link/src/main/java/com/stripe/android/link/ui/wallet/PaymentDetails.kt index ffdeb93b29a..e5281f76a40 100644 --- a/link/src/main/java/com/stripe/android/link/ui/wallet/PaymentDetails.kt +++ b/link/src/main/java/com/stripe/android/link/ui/wallet/PaymentDetails.kt @@ -38,6 +38,7 @@ import com.stripe.android.link.theme.linkShapes import com.stripe.android.model.ConsumerPaymentDetails import com.stripe.android.model.ConsumerPaymentDetails.Card import com.stripe.android.R as StripeR +import com.stripe.android.ui.core.R as StripeUiCoreR @Composable internal fun PaymentDetailsListItem( @@ -226,7 +227,7 @@ private fun RowScope.BankAccountInfo( ) Column(horizontalAlignment = Alignment.Start) { Text( - text = bankAccount.bankName ?: stringResource(R.string.stripe_wallet_bank), + text = bankAccount.bankName ?: stringResource(StripeUiCoreR.string.stripe_payment_method_bank), color = MaterialTheme.colors.onPrimary, overflow = TextOverflow.Ellipsis, maxLines = 1, diff --git a/payments-ui-core/res/values/strings.xml b/payments-ui-core/res/values/strings.xml index 55499a3edd3..6e613149d14 100644 --- a/payments-ui-core/res/values/strings.xml +++ b/payments-ui-core/res/values/strings.xml @@ -67,6 +67,8 @@ Przelewy24 Bank Pay %s + + Bank Add card