mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-13 19:37:42 +01:00
BG image/gradient to light fix (#2945)
This commit is contained in:
parent
4a640dc123
commit
61e8d0059b
2 changed files with 5 additions and 3 deletions
2
lnbits/static/bundle.min.js
vendored
2
lnbits/static/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -622,9 +622,11 @@ window.windowMixin = {
|
|||
toggleDarkMode() {
|
||||
this.$q.dark.toggle()
|
||||
this.$q.localStorage.set('lnbits.darkMode', this.$q.dark.isActive)
|
||||
if (this.gradientChoice && !this.$q.dark.isActive) {
|
||||
if (!this.$q.dark.isActive) {
|
||||
this.bgimageSelection = 'null'
|
||||
this.$q.localStorage.set('lnbits.gradientBg', false)
|
||||
this.$q.localStorage.remove(`lnbits.backgroundImage`)
|
||||
this.$q.localStorage.set('lnbits.backgroundImage', 'null')
|
||||
window.location.hash = '#theme'
|
||||
window.location.reload()
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue