Updated on 2026-08-14
This commit is contained in:
parent
7f11ecac12
commit
758ab2571d
3 changed files with 38 additions and 18 deletions
|
|
@ -99,10 +99,11 @@ class OnboardingNoteFragment : BaseOnboardingFragment<OnboardingNoteState>() {
|
|||
|
||||
if (state.balanceCriticalError == null) {
|
||||
val balanceValue = state.walletBalance.value.stripZeroPlainString()
|
||||
val currency = state.walletBalance.currency.currencySymbol
|
||||
tv_balance_value.text = "$balanceValue $currency"
|
||||
tv_balance_value.text = balanceValue
|
||||
tv_balance_currency.text = state.walletBalance.currency.currencySymbol
|
||||
} else {
|
||||
tv_balance_value.text = "–"
|
||||
tv_balance_currency.text = ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -141,10 +141,11 @@ class TwinsCardsFragment : BaseOnboardingFragment<TwinCardsState>() {
|
|||
|
||||
if (state.balanceCriticalError == null) {
|
||||
val balanceValue = state.walletBalance.value.stripZeroPlainString()
|
||||
val currency = state.walletBalance.currency.currencySymbol
|
||||
tv_balance_value.text = "$balanceValue $currency"
|
||||
tv_balance_value.text = balanceValue
|
||||
tv_balance_currency.text = state.walletBalance.currency.currencySymbol
|
||||
} else {
|
||||
tv_balance_value.text = "–"
|
||||
tv_balance_currency.text = ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue