fix: exchange rate was not shown on wallet page when switching wallets (#3634)

This commit is contained in:
dni ⚡
2025-12-06 14:12:09 +01:00
committed by GitHub
parent e5e589fc40
commit 62047ea758
3 changed files with 4 additions and 7 deletions
File diff suppressed because one or more lines are too long
-5
View File
@@ -49,7 +49,6 @@ window.PageWallet = {
hasNfc: false,
nfcReaderAbortController: null,
formattedFiatAmount: 0,
formattedExchange: null,
paymentFilter: {
'status[ne]': 'failed'
},
@@ -658,10 +657,6 @@ window.PageWallet = {
if (this.g.fiatTracking && this.g.wallet.currency) {
this.g.fiatBalance =
(this.g.exchangeRate / 100000000) * this.g.wallet.sat
this.formattedExchange = LNbits.utils.formatCurrency(
this.g.exchangeRate,
this.g.wallet.currency
)
}
}
}