From b99d91f31b7b8aeb689b15763612295b7fc6b986 Mon Sep 17 00:00:00 2001 From: Tangem Date: Sun, 7 Nov 2021 19:44:04 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../tangem/tap/features/wallet/ui/wallet/SingleWalletView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/tangem/tap/features/wallet/ui/wallet/SingleWalletView.kt b/app/src/main/java/com/tangem/tap/features/wallet/ui/wallet/SingleWalletView.kt index 874c3abfec..08e1b03466 100644 --- a/app/src/main/java/com/tangem/tap/features/wallet/ui/wallet/SingleWalletView.kt +++ b/app/src/main/java/com/tangem/tap/features/wallet/ui/wallet/SingleWalletView.kt @@ -164,11 +164,11 @@ class SingleWalletView : WalletView { allowedToBuy && !allowedToSell -> R.drawable.ic_arrow_up_short_btn !allowedToBuy && allowedToSell -> R.drawable.ic_arrow_down_short_button allowedToBuy && allowedToSell -> R.drawable.ic_arrows_up_down_short_btn - else -> R.string.wallet_button_trade + else -> null } with(fragment) { btn_trade.text = getText(text) - btn_trade.setCompoundDrawablesWithIntrinsicBounds(0, icon, 0, 0) + btn_trade.setCompoundDrawablesWithIntrinsicBounds(0, icon ?: 0, 0, 0) btn_trade.setOnClickListener { if (action != null) store.dispatch(action) } } }