Repository navigation
NMA-1134 : fix the local currency - #844
Conversation
| binding.serviceFiatAmount.setAmount(data.localBalance) | ||
| binding.serviceFiatAmount.text = Constants.PREFIX_ALMOST_EQUAL_TO+ view.context.getString( | ||
| R.string.fiat_balance_with_currency, fiatFormat.format(data.localBalance), | ||
| currencySymbol |
There was a problem hiding this comment.
Whether a currency symbol goes before or after an amount depends on locale of the device, but here it seems like it is always going to be after the amount.
There was a problem hiding this comment.
Actually, I'm not sure if this is required given that we ignore this everywhere in the app except for the Enter Amount screens. @HashEngineering
There was a problem hiding this comment.
In the figma design it's before the amount
There was a problem hiding this comment.
Figma designs don't represent all the possible states of UI. Sometimes it has currency before the amount, sometimes after. Generally, it should depend on the device locale. NumberFormat class handles this automatically, but we probably need to use MonetaryFormat which doesn't.
# Conflicts: # integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/ui/CoinbaseServicesFragment.kt # wallet/src/de/schildbach/wallet/adapter/BuyAndSellDashServicesAdapter.kt
3077cd7 to
8dcb72a
Compare
Issue being fixed or feature implemented
Fix the Local currency format to match figma

Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: