From d13ce62ad93e1f7e276dc2378e2560d4acda33da Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 21 Apr 2025 11:57:49 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../subcomponents/destination/model/SendDestinationModel.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features/send-v2/impl/src/main/java/com/tangem/features/send/v2/subcomponents/destination/model/SendDestinationModel.kt b/features/send-v2/impl/src/main/java/com/tangem/features/send/v2/subcomponents/destination/model/SendDestinationModel.kt index e9ff9401a2..b2e71ae80a 100644 --- a/features/send-v2/impl/src/main/java/com/tangem/features/send/v2/subcomponents/destination/model/SendDestinationModel.kt +++ b/features/send-v2/impl/src/main/java/com/tangem/features/send/v2/subcomponents/destination/model/SendDestinationModel.kt @@ -269,8 +269,10 @@ internal class SendDestinationModel @Inject constructor( private fun autoNextFromRecipient(type: EnterAddressSource?, isValidAddress: Boolean, isValidMemo: Boolean) { val isRecent = type == EnterAddressSource.RecentAddress - if (isRecent && isValidAddress && isValidMemo) saveResult() - (params as? SendDestinationComponentParams.DestinationParams)?.onNextClick?.invoke() + if (isRecent && isValidAddress && isValidMemo) { + saveResult() + (params as? SendDestinationComponentParams.DestinationParams)?.onNextClick?.invoke() + } } private fun saveResult() {