mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
Update blue_modules/currency.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
4f67fa1b1b
commit
00bfe03a07
@ -50,7 +50,7 @@ function getCurrencyFormatter(): Intl.NumberFormat {
|
||||
}
|
||||
|
||||
function getBTCFormatter(): Intl.NumberFormat {
|
||||
if (!btcFormatter) {
|
||||
if (!btcFormatter || btcFormatter.resolvedOptions().locale !== preferredFiatCurrency.locale) {
|
||||
btcFormatter = new Intl.NumberFormat(preferredFiatCurrency.locale, {
|
||||
minimumFractionDigits: 8,
|
||||
maximumFractionDigits: 8,
|
||||
|
Loading…
Reference in New Issue
Block a user