vibrate check

This commit is contained in:
callebtc 2022-11-05 23:50:31 +01:00 committed by dni ⚡
parent 45519f8339
commit a89a915e7a

View file

@ -1392,7 +1392,7 @@
clearInterval(this.invoiceCheckListener) clearInterval(this.invoiceCheckListener)
this.invoiceData.bolt11 = '' this.invoiceData.bolt11 = ''
this.showInvoiceDetails = false this.showInvoiceDetails = false
navigator.vibrate(200) if (window.navigator.vibrate) navigator.vibrate(200)
this.$q.notify({ this.$q.notify({
timeout: 5000, timeout: 5000,
type: 'positive', type: 'positive',
@ -1620,7 +1620,7 @@
}) })
this.storehistoryTokens() this.storehistoryTokens()
navigator.vibrate(200) if (window.navigator.vibrate) navigator.vibrate(200)
this.$q.notify({ this.$q.notify({
timeout: 5000, timeout: 5000,
type: 'positive', type: 'positive',
@ -1716,7 +1716,7 @@
'', '',
payload payload
) )
navigator.vibrate(200) if (window.navigator.vibrate) navigator.vibrate(200)
this.$q.notify({ this.$q.notify({
timeout: 5000, timeout: 5000,
type: 'positive', type: 'positive',
@ -1836,7 +1836,7 @@
} }
if (paid){ if (paid){
console.log("### token paid") console.log("### token paid")
navigator.vibrate(200) if (window.navigator.vibrate) navigator.vibrate(200)
this.$q.notify({ this.$q.notify({
timeout: 5000, timeout: 5000,
type: 'positive', type: 'positive',