fix: fiat tracking / updating wallet without reloads (#2891)
This commit is contained in:
@@ -444,6 +444,9 @@ if (!window.g) {
|
||||
extensions: [],
|
||||
user: null,
|
||||
wallet: {},
|
||||
fiatBalance: 0,
|
||||
exchangeRate: 0,
|
||||
fiatTracking: false,
|
||||
wallets: [],
|
||||
payments: [],
|
||||
allowedThemes: null,
|
||||
@@ -822,7 +825,12 @@ window.windowMixin = {
|
||||
await this.checkUsrInUrl()
|
||||
this.themeParams()
|
||||
this.walletFlip = this.$q.localStorage.getItem('lnbits.walletFlip')
|
||||
this.mobileSimple = this.$q.localStorage.getItem('lnbits.mobileSimple')
|
||||
if (
|
||||
this.$q.screen.gt.sm ||
|
||||
this.$q.localStorage.getItem('lnbits.mobileSimple') == false
|
||||
) {
|
||||
this.mobileSimple = false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (this.g.user) {
|
||||
|
||||
Reference in New Issue
Block a user