Add:Haptic feedback device setting off/light/medium/heavy #472

This commit is contained in:
advplyr 2023-01-08 15:32:15 -06:00
parent 89041c4141
commit d59f3ae0b6
25 changed files with 133 additions and 73 deletions

View file

@ -256,7 +256,7 @@ export default {
this.showDialog = true
},
async play() {
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
this.$eventBus.$emit('play-item', { libraryItemId: this.localLibraryItemId })
},
getCapImageSrc(contentUrl) {
@ -264,7 +264,7 @@ export default {
},
async dialogAction(action) {
console.log('Dialog action', action)
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
if (action == 'scan') {
this.scanItem()
} else if (action == 'rescan') {