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

@ -187,7 +187,7 @@ export default {
},
async downloadClick() {
if (this.downloadItem) return
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
if (this.isIos) {
// no local folders on iOS
this.startDownload()
@ -248,7 +248,7 @@ export default {
}
},
async playClick() {
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
if (this.streamIsPlaying) {
this.$eventBus.$emit('pause-item')
} else {
@ -270,7 +270,7 @@ export default {
}
},
async toggleFinished() {
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
this.isProcessingReadUpdate = true
if (this.isLocal || this.localEpisode) {
var isFinished = !this.userIsFinished