From 78996521c68c1c336b64d2971a68d83ad7146362 Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 20 May 2024 18:38:47 +0100 Subject: [PATCH] Updated on 2026-08-14 --- app/src/main/assets/tangem-app-config | 2 +- .../tokendetails/state/components/TokenDetailsDialogConfig.kt | 4 ++-- .../tokendetails/state/factory/TokenDetailsStateFactory.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/assets/tangem-app-config b/app/src/main/assets/tangem-app-config index a494a9b493..7ae8d89566 160000 --- a/app/src/main/assets/tangem-app-config +++ b/app/src/main/assets/tangem-app-config @@ -1 +1 @@ -Subproject commit a494a9b49335d891dc5836d478c843432a857621 +Subproject commit 7ae8d8956605c444a46a5b15cfa0a11cb595ca9f diff --git a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/components/TokenDetailsDialogConfig.kt b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/components/TokenDetailsDialogConfig.kt index 82bb4bbd12..f0bccdec33 100644 --- a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/components/TokenDetailsDialogConfig.kt +++ b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/components/TokenDetailsDialogConfig.kt @@ -31,13 +31,13 @@ internal data class TokenDetailsDialogConfig( ) data class ConfirmHideConfig( - val currencySymbol: String, + val currencyTitle: String, val onConfirmClick: () -> Unit, val onCancelClick: () -> Unit, ) : DialogContentConfig() { override val title: TextReference = TextReference.Res( id = R.string.token_details_hide_alert_title, - formatArgs = wrappedList(currencySymbol), + formatArgs = wrappedList(currencyTitle), ) override val message: TextReference = TextReference.Res(R.string.token_details_hide_alert_message) diff --git a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsStateFactory.kt b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsStateFactory.kt index 82d586ce66..db67d88385 100644 --- a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsStateFactory.kt +++ b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsStateFactory.kt @@ -152,7 +152,7 @@ internal class TokenDetailsStateFactory( isShow = true, onDismissRequest = clickIntents::onDismissDialog, content = TokenDetailsDialogConfig.DialogContentConfig.ConfirmHideConfig( - currencySymbol = currency.symbol, + currencyTitle = currency.name, onConfirmClick = clickIntents::onHideConfirmed, onCancelClick = clickIntents::onDismissDialog, ),