chore: refactor windowMixin, init-app.js, lnbits-theme (#3569)

This commit is contained in:
dni ⚡
2025-11-25 14:31:17 +01:00
committed by GitHub
parent 0910687328
commit 7a796c6510
8 changed files with 30 additions and 36 deletions
@@ -1,6 +1,12 @@
window.app.component('lnbits-theme', {
mixins: [window.windowMixin],
watch: {
'g.walletFlip'(val) {
this.$q.localStorage.setItem('lnbits.walletFlip', val)
if (val === true && this.$q.screen.lt.md) {
this.g.visibleDrawer = false
}
},
'g.disclaimerShown'(val) {
this.$q.localStorage.setItem('lnbits.disclaimerShown', val)
},