Adds optional confetti to incoming payments in wallet (#2231)
* initial * Working with toggle * Prettier and bundle * removed console.log * bundle * fix: i18n * refactor: simplify logic --------- Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
@@ -27,6 +27,10 @@ new Vue({
|
||||
this.$q.dark.toggle()
|
||||
this.$q.localStorage.set('lnbits.darkMode', this.$q.dark.isActive)
|
||||
},
|
||||
toggleReactions: function () {
|
||||
this.reactionToggle = !this.reactionToggle
|
||||
this.$q.localStorage.set('lnbits.reactions', this.reactionToggle)
|
||||
},
|
||||
changeColor: function (newValue) {
|
||||
document.body.setAttribute('data-theme', newValue)
|
||||
this.$q.localStorage.set('lnbits.theme', newValue)
|
||||
|
||||
Reference in New Issue
Block a user