Merge branch 'better_fiat_tracking' of https://github.com/lnbits/lnbits into better_fiat_tracking
This commit is contained in:
@@ -23,7 +23,7 @@ async def create_wallet(
|
|||||||
user=user_id,
|
user=user_id,
|
||||||
adminkey=uuid4().hex,
|
adminkey=uuid4().hex,
|
||||||
inkey=uuid4().hex,
|
inkey=uuid4().hex,
|
||||||
currency='USD',
|
currency="USD",
|
||||||
)
|
)
|
||||||
await (conn or db).insert("wallets", wallet)
|
await (conn or db).insert("wallets", wallet)
|
||||||
return wallet
|
return wallet
|
||||||
|
|||||||
@@ -727,7 +727,10 @@ window.app = Vue.createApp({
|
|||||||
this.$q.localStorage.set('lnbits.disclaimerShown', true)
|
this.$q.localStorage.set('lnbits.disclaimerShown', true)
|
||||||
}
|
}
|
||||||
// check blanace priority
|
// check blanace priority
|
||||||
if (this.$q.localStorage.getItem('lnbits.isPrioritySwapped')) {
|
if (
|
||||||
|
this.$q.localStorage.getItem('lnbits.isPrioritySwapped') &&
|
||||||
|
this.g.wallet.currency
|
||||||
|
) {
|
||||||
this.isPrioritySwapped = this.$q.localStorage.getItem(
|
this.isPrioritySwapped = this.$q.localStorage.getItem(
|
||||||
'lnbits.isPrioritySwapped'
|
'lnbits.isPrioritySwapped'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user