vibrate check

This commit is contained in:
callebtc
2022-11-05 23:50:31 +01:00
parent 11cc8262bc
commit 6d50140760

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',