From de2c9068990c9bf43e052bac93cc70e83cffb8c0 Mon Sep 17 00:00:00 2001 From: Oleg Date: Tue, 16 Apr 2024 12:21:12 +0700 Subject: [PATCH 1/2] Fixed issue when send crypto title shows incorrect avatar --- .../Modules/Home/NavigationViewWithCustomTitle.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/unstoppable-ios-app/domains-manager-ios/Modules/Home/NavigationViewWithCustomTitle.swift b/unstoppable-ios-app/domains-manager-ios/Modules/Home/NavigationViewWithCustomTitle.swift index 978a195d6..a7c350184 100644 --- a/unstoppable-ios-app/domains-manager-ios/Modules/Home/NavigationViewWithCustomTitle.swift +++ b/unstoppable-ios-app/domains-manager-ios/Modules/Home/NavigationViewWithCustomTitle.swift @@ -28,6 +28,7 @@ struct NavigationViewWithCustomTitle: View where Data : Mut AnyView(customTitle()) .offset(y: currentTitleOffset + navigationState.yOffset) .frame(maxWidth: 240) + .id(navigationState.customViewID) } }) .onAppear(perform: { From f68c0a76044c16acd83e90952b946c6ac4592135 Mon Sep 17 00:00:00 2001 From: Oleg Date: Tue, 16 Apr 2024 14:45:28 +0700 Subject: [PATCH 2/2] Adjusted min token amount required to appear in the list --- .../SelectAssetToSend/SelectCryptoAssetToSendView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/SelectAssetToSend/SelectCryptoAssetToSendView.swift b/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/SelectAssetToSend/SelectCryptoAssetToSendView.swift index 6f45bf90f..83719295d 100644 --- a/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/SelectAssetToSend/SelectCryptoAssetToSendView.swift +++ b/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/SelectAssetToSend/SelectCryptoAssetToSendView.swift @@ -57,7 +57,7 @@ private extension SelectCryptoAssetToSendView { .map { BalanceTokenUIDescription.extractFrom(walletBalance: $0) } .flatMap({ $0 }) .filter { viewModel.canSendToken($0) } - .filter { $0.balanceUsd > 1 } + .filter { $0.balanceUsd > 0 } .sorted(by: { lhs, rhs in lhs.balanceUsd > rhs.balanceUsd })