mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 01:54:33 +02:00
Add:Haptic feedback device setting off/light/medium/heavy #472
This commit is contained in:
parent
89041c4141
commit
d59f3ae0b6
25 changed files with 133 additions and 73 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue