Updated on 2026-08-14
This commit is contained in:
parent
90bfea9e4c
commit
1836e85084
1 changed files with 10 additions and 4 deletions
|
|
@ -191,10 +191,16 @@ class WalletDetailsFragment : Fragment(R.layout.fragment_wallet_details),
|
|||
|
||||
private fun setupCurrency(currencyData: BalanceWidgetData, currency: Currency) = with(binding) {
|
||||
tvCurrencyTitle.text = currencyData.currency
|
||||
tvCurrencySubtitle.text = tvCurrencySubtitle.getString(
|
||||
R.string.wallet_currency_subtitle,
|
||||
currency.blockchain.fullName,
|
||||
)
|
||||
|
||||
if (currency is Currency.Token) {
|
||||
tvCurrencySubtitle.text = tvCurrencySubtitle.getString(
|
||||
R.string.wallet_currency_subtitle,
|
||||
currency.blockchain.fullName,
|
||||
)
|
||||
tvCurrencySubtitle.show()
|
||||
} else {
|
||||
tvCurrencySubtitle.hide()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupButtons(selectedWallet: WalletData, isExchangeServiceFeatureOn: Boolean) = with(binding) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue