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:
Arc
2024-02-08 13:34:03 +00:00
committed by GitHub
co-authored by Vlad Stan
parent 6c46867698
commit c1c4eda69d
10 changed files with 559 additions and 10 deletions
+4
View File
@@ -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)