fix_: use usd as default currency (#20916)
This commit uses "usd" currency as default for the fiat price calculation for the tokens. Every currency has a different format - decimal which we need to rely on a separate RPC to fetch currency format and do the calculation. So, this PR will change to use usd as the default for v2.30. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
59ceddbaad
commit
7c4c9a9fc0
|
@ -20,9 +20,9 @@
|
|||
|
||||
(re-frame/reg-sub
|
||||
:profile/currency
|
||||
:<- [:profile/profile]
|
||||
(fn [{:keys [currency]}]
|
||||
(or currency constants/profile-default-currency)))
|
||||
(fn []
|
||||
;; returns "usd" by default as the support for other currencies are in progress on Mobile
|
||||
constants/profile-default-currency))
|
||||
|
||||
(re-frame/reg-sub
|
||||
:profile/syncing-on-mobile-network?
|
||||
|
|
Loading…
Reference in New Issue