Added top cards (#2858)

* refactor old atempt

* Added watcher for smaller screens to stop bugs switching

* syntax error

* format
This commit is contained in:
Arc
2024-12-19 16:16:09 +00:00
committed by GitHub
parent 146a74761a
commit 8d1542d982
2 changed files with 69 additions and 1 deletions
+7 -1
View File
@@ -58,7 +58,8 @@ window.app = Vue.createApp({
inkeyHidden: true,
adminkeyHidden: true,
hasNfc: false,
nfcReaderAbortController: null
nfcReaderAbortController: null,
primaryColor: this.$q.localStorage.getItem('lnbits.primaryColor')
}
},
computed: {
@@ -672,6 +673,11 @@ window.app = Vue.createApp({
watch: {
updatePayments() {
this.updateFiatBalance()
},
'$q.screen.gt.sm'(value) {
if (value == true) {
this.mobileSimple = false
}
}
},
mounted() {