This reverts commit 15ba3c33a3.
This commit is contained in:
parent
16fbfd1c6f
commit
1cef614349
2 changed files with 6 additions and 12 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
|
|
@ -480,19 +480,19 @@ window.windowMixin = {
|
||||||
gradientSelection: false,
|
gradientSelection: false,
|
||||||
borderChoice: this.$q.localStorage.has('lnbits.border')
|
borderChoice: this.$q.localStorage.has('lnbits.border')
|
||||||
? this.$q.localStorage.getItem('lnbits.border')
|
? this.$q.localStorage.getItem('lnbits.border')
|
||||||
: this.USE_DEFAULT_BORDER,
|
: USE_DEFAULT_BORDER,
|
||||||
gradientChoice: this.$q.localStorage.has('lnbits.gradientBg')
|
gradientChoice: this.$q.localStorage.has('lnbits.gradientBg')
|
||||||
? this.$q.localStorage.getItem('lnbits.gradientBg')
|
? this.$q.localStorage.getItem('lnbits.gradientBg')
|
||||||
: this.USE_DEFAULT_GRADIENT,
|
: USE_DEFAULT_GRADIENT,
|
||||||
themeChoice: this.$q.localStorage.has('lnbits.theme')
|
themeChoice: this.$q.localStorage.has('lnbits.theme')
|
||||||
? this.$q.localStorage.getItem('lnbits.theme')
|
? this.$q.localStorage.getItem('lnbits.theme')
|
||||||
: this.USE_DEFAULT_THEME,
|
: USE_DEFAULT_THEME,
|
||||||
reactionChoice: this.$q.localStorage.has('lnbits.reactions')
|
reactionChoice: this.$q.localStorage.has('lnbits.reactions')
|
||||||
? this.$q.localStorage.getItem('lnbits.reactions')
|
? this.$q.localStorage.getItem('lnbits.reactions')
|
||||||
: this.USE_DEFAULT_REACTION,
|
: USE_DEFAULT_REACTION,
|
||||||
bgimageChoice: this.$q.localStorage.has('lnbits.backgroundImage')
|
bgimageChoice: this.$q.localStorage.has('lnbits.backgroundImage')
|
||||||
? this.$q.localStorage.getItem('lnbits.backgroundImage')
|
? this.$q.localStorage.getItem('lnbits.backgroundImage')
|
||||||
: this.USE_DEFAULT_BGIMAGE,
|
: USE_DEFAULT_BGIMAGE,
|
||||||
isUserAuthorized: false,
|
isUserAuthorized: false,
|
||||||
walletEventListeners: [],
|
walletEventListeners: [],
|
||||||
backgroundImage: ''
|
backgroundImage: ''
|
||||||
|
|
@ -835,12 +835,6 @@ window.windowMixin = {
|
||||||
? this.$q.localStorage.getItem('lnbits.darkMode')
|
? this.$q.localStorage.getItem('lnbits.darkMode')
|
||||||
: true
|
: true
|
||||||
)
|
)
|
||||||
this.USE_DEFAULT_BORDER = USE_DEFAULT_BORDER
|
|
||||||
this.USE_DEFAULT_GRADIENT = USE_DEFAULT_GRADIENT
|
|
||||||
this.USE_DEFAULT_THEME = USE_DEFAULT_THEME
|
|
||||||
this.USE_DEFAULT_REACTION = USE_DEFAULT_REACTION
|
|
||||||
this.USE_DEFAULT_BGIMAGE = USE_DEFAULT_BGIMAGE
|
|
||||||
|
|
||||||
this.changeTheme(this.themeChoice)
|
this.changeTheme(this.themeChoice)
|
||||||
this.applyBorder()
|
this.applyBorder()
|
||||||
if (this.$q.dark.isActive) {
|
if (this.$q.dark.isActive) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue