feat: handle intents (#2161)
if lightning/lnurl param is present in /wallet, it will pass to the decode dialogue * chore: code format * fix: call to `decodeRequest` * feat: set `position="top"` for all dialogs (avoid mobile keyboard overlap) --------- Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
@@ -854,6 +854,13 @@ new Vue({
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
let urlParams = new URLSearchParams(window.location.search)
|
||||
if (urlParams.has('lightning') || urlParams.has('lnurl')) {
|
||||
this.parse.data.request =
|
||||
urlParams.get('lightning') || urlParams.get('lnurl')
|
||||
this.decodeRequest()
|
||||
this.parse.show = true
|
||||
}
|
||||
this.fetchBalance()
|
||||
this.fetchPayments()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user