From 575081de3e3b5698882780e6684a352471be50e9 Mon Sep 17 00:00:00 2001 From: Tangem Date: Thu, 2 Jul 2026 16:25:55 +0200 Subject: [PATCH] Updated on 2026-08-14 --- .../features/tangempay/closure/TangemPayCloseCardContent.kt | 2 +- .../tangempay/ui/TangemPayChangePinCodeSuccessScreenV2.kt | 2 +- .../presentation/wallet/domain/GetMultiWalletWarningsFactory.kt | 2 +- .../presentation/wallet/domain/GetWalletNotificationsFactory.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/closure/TangemPayCloseCardContent.kt b/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/closure/TangemPayCloseCardContent.kt index 19032854f9..c4f4ba10d0 100644 --- a/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/closure/TangemPayCloseCardContent.kt +++ b/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/closure/TangemPayCloseCardContent.kt @@ -108,7 +108,7 @@ private fun Content(state: TangemPayCloseCardUM) { modifier = Modifier.fillMaxWidth(), variant = TangemButton.Variant.Secondary, size = TangemButton.Size.X12, - text = resourceReference(R.string.tangem_pay_close_card_popup_secondary_button_title), + text = resourceReference(R.string.common_cancel), isEnabled = !state.isClosingInProgress, onClick = state.onDismissRequest, ) diff --git a/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/ui/TangemPayChangePinCodeSuccessScreenV2.kt b/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/ui/TangemPayChangePinCodeSuccessScreenV2.kt index 703379bc57..ebbc532419 100644 --- a/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/ui/TangemPayChangePinCodeSuccessScreenV2.kt +++ b/features/tangempay/details/impl/src/main/kotlin/com/tangem/features/tangempay/ui/TangemPayChangePinCodeSuccessScreenV2.kt @@ -15,7 +15,7 @@ internal fun TangemPayChangePinCodeSuccessScreenV2(onClose: () -> Unit, modifier modifier = modifier, title = resourceReference(R.string.tangempay_card_details_change_pin_success_title), subtitle = resourceReference(R.string.tangempay_card_details_change_pin_success_description), - buttonText = resourceReference(R.string.common_close), + buttonText = resourceReference(R.string.common_done), onButtonClick = onClose, titleTestTag = TangemPayTestTags.PIN_SUCCESS_TITLE, subtitleTestTag = TangemPayTestTags.PIN_SUCCESS_DESCRIPTION, diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt index b488d4e170..54aa726f71 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt @@ -334,7 +334,7 @@ internal class GetMultiWalletWarningsFactory @Inject constructor( addIf( element = WalletNotification.Informational.MissingAddresses( tangemIcon = walletInterationIcon(userWallet), - missingAddressesCount = currencies.count(), + missingAddressesCount = currencies.distinctBy { it.network.id }.count(), onGenerateClick = { clickIntents.onGenerateMissedAddressesClick( userWalletId = userWallet.walletId, diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt index a8b6e590d5..003cfb3498 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt @@ -213,7 +213,7 @@ internal class GetWalletNotificationsFactory @Inject constructor( addIf( element = WalletNotificationUM.MissingAddresses( tangemIcon = walletInterationIcon(userWallet), - missingAddressesCount = currencies.count(), + missingAddressesCount = currencies.distinctBy { it.network.id }.count(), onGenerateClick = { clickIntents.onGenerateMissedAddressesClick( userWalletId = userWallet.walletId,