From f14216de94784e9cba328beda42855454ad7ca57 Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 6 Dec 2023 15:28:07 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../com/tangem/feature/swap/ui/TransactionCard.kt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/TransactionCard.kt b/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/TransactionCard.kt index 258e8f5ddf..18d89a4d06 100644 --- a/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/TransactionCard.kt +++ b/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/TransactionCard.kt @@ -262,14 +262,12 @@ private fun Content( } } is TransactionCardType.SendCard -> { - AnimatedContent(targetState = textFieldValue, label = "") { - AutoSizeTextField( - modifier = sumTextModifier, - textFieldValue = it ?: TextFieldValue(), - onAmountChange = { type.onAmountChanged(it) }, - onFocusChange = type.onFocusChanged, - ) - } + AutoSizeTextField( + modifier = sumTextModifier, + textFieldValue = textFieldValue ?: TextFieldValue(), + onAmountChange = { type.onAmountChanged(it) }, + onFocusChange = type.onFocusChanged, + ) } }