Updated on 2026-08-14
This commit is contained in:
parent
3c02abb03d
commit
b99d91f31b
1 changed files with 2 additions and 2 deletions
|
|
@ -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) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue