From ed71b62deb3c36ad7caa32c943849886da6bd201 Mon Sep 17 00:00:00 2001 From: Tangem Date: Thu, 28 Jul 2022 12:26:45 +0300 Subject: [PATCH 1/2] Updated on 2026-08-14 --- .../tangem/tap/features/wallet/ui/adapters/WalletAdapter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/tangem/tap/features/wallet/ui/adapters/WalletAdapter.kt b/app/src/main/java/com/tangem/tap/features/wallet/ui/adapters/WalletAdapter.kt index b4f5f84a1f..78bbb4c3ed 100644 --- a/app/src/main/java/com/tangem/tap/features/wallet/ui/adapters/WalletAdapter.kt +++ b/app/src/main/java/com/tangem/tap/features/wallet/ui/adapters/WalletAdapter.kt @@ -9,7 +9,7 @@ import androidx.recyclerview.widget.RecyclerView import com.tangem.blockchain.common.Blockchain import com.tangem.blockchain.common.Token import com.tangem.domain.common.TapWorkarounds.derivationStyle -import com.tangem.tap.common.extensions.getGreyedOutIconRes +import com.tangem.tap.common.extensions.getRoundIconRes import com.tangem.tap.common.extensions.getString import com.tangem.tap.common.extensions.hide import com.tangem.tap.common.extensions.show @@ -118,7 +118,7 @@ class WalletAdapter badgeCustomBalance.isVisible = isCustomCurrency ivBlockchain.isVisible = wallet.currency.isToken() - ivBlockchain.setImageResource(wallet.currency.blockchain.getGreyedOutIconRes()) + ivBlockchain.setImageResource(wallet.currency.blockchain.getRoundIconRes()) cardWallet.setOnClickListener { store.dispatch(WalletAction.MultiWallet.SelectWallet(wallet)) From c7d05cb7abb811dc8e592929701b19580c066507 Mon Sep 17 00:00:00 2001 From: Tangem Date: Thu, 28 Jul 2022 12:27:10 +0300 Subject: [PATCH 2/2] Updated on 2026-08-14 --- .../main/res/layout/item_currency_wallet.xml | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/app/src/main/res/layout/item_currency_wallet.xml b/app/src/main/res/layout/item_currency_wallet.xml index 9ac49b1ad9..01860acfb1 100644 --- a/app/src/main/res/layout/item_currency_wallet.xml +++ b/app/src/main/res/layout/item_currency_wallet.xml @@ -6,14 +6,14 @@ android:layout_height="wrap_content"> + android:id="@+id/card_wallet" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginBottom="8dp" + android:background="@android:color/white" + android:elevation="3dp"> + app:layout_constraintEnd_toEndOf="@id/iv_currency" + app:layout_constraintStart_toStartOf="@id/iv_currency" + app:layout_constraintTop_toTopOf="@id/iv_currency" + tools:text="J" /> + layout="@layout/item_currency_wallet_content" + android:id="@+id/l_content" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_marginStart="8dp" + android:visibility="gone" + app:layout_constraintStart_toEndOf="@id/iv_currency" + app:layout_constraintEnd_toEndOf="parent" + tools:visibility="visible" /> + layout="@layout/item_currency_wallet_shimmer" + android:id="@+id/l_shimmer" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_marginStart="8dp" + app:layout_constraintStart_toEndOf="@id/iv_currency" + app:layout_constraintEnd_toEndOf="parent" />