layout bug

This commit is contained in:
arcbtc
2024-12-18 22:15:17 +00:00
parent acd3b598b7
commit e13fd39e75
2 changed files with 8 additions and 16 deletions
+5 -4
View File
@@ -722,10 +722,11 @@ window.app = Vue.createApp({
this.$q.localStorage.set('lnbits.disclaimerShown', true)
}
// check blanace priority
if (this.$q.localStorage.getItem('lnbits.isPrioritySwapped')) {
this.isPrioritySwapped = this.$q.localStorage.getItem(
'lnbits.isPrioritySwapped'
)
if (this.$q.localStorage.getItem('lnbits.isPrioritySwapped')){
this.isPrioritySwapped = this.$q.localStorage.getItem('lnbits.isPrioritySwapped')
} else {
this.isPrioritySwapped = false
this.$q.localStorage.setItem('lnbits.isPrioritySwapped', false)
}
// listen to incoming payments
LNbits.events.onInvoicePaid(this.g.wallet, data => {