From 96632ac507e0627b74cc1106c140d5e01eb68173 Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 17 May 2024 18:36:24 +0500 Subject: [PATCH 1/2] Updated on 2026-08-14 --- .../send/impl/presentation/viewmodel/SendViewModel.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/send/impl/src/main/java/com/tangem/features/send/impl/presentation/viewmodel/SendViewModel.kt b/features/send/impl/src/main/java/com/tangem/features/send/impl/presentation/viewmodel/SendViewModel.kt index fc9c9af998..a74e2df9ab 100644 --- a/features/send/impl/src/main/java/com/tangem/features/send/impl/presentation/viewmodel/SendViewModel.kt +++ b/features/send/impl/src/main/java/com/tangem/features/send/impl/presentation/viewmodel/SendViewModel.kt @@ -409,8 +409,8 @@ internal class SendViewModel @Inject constructor( .orEmpty() }.onSuccess { result -> combine(*result.toTypedArray()) { it } - .onEach { - userWallets = it.filterNotNull().toList() + .onEach { wallets -> + userWallets = wallets.filter { it.address.isNotBlank() }.toList() uiState = stateFactory.onLoadedWalletsList(wallets = userWallets) } .flowOn(dispatchers.main) @@ -421,7 +421,7 @@ internal class SendViewModel @Inject constructor( } } - private suspend fun List.toAvailableWallets(): List> = + private suspend fun List.toAvailableWallets(): List> = filterNot { it.walletId == userWalletId || it.isLocked } .mapNotNull { wallet -> val status = if (!wallet.isMultiCurrency) { From 047cdd4924f98388d7216618546fcb1dc3b3bbac Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 17 May 2024 18:36:41 +0500 Subject: [PATCH 2/2] Updated on 2026-08-14 --- gradle/dependencies.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/dependencies.toml b/gradle/dependencies.toml index 4ed044e049..a202e204d9 100644 --- a/gradle/dependencies.toml +++ b/gradle/dependencies.toml @@ -86,7 +86,7 @@ markdown = "0.7.2" # endregion Other libraries # region Tangem -tangemBlockchainSdk = "release-app_5.10-632" +tangemBlockchainSdk = "release-app_5.10-636" #tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds tangemCardSdk = "release-app_5.10-353" #tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^