mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-06-28 07:50:11 +02:00
Adds low feedback mode to podcast downloads
This commit is contained in:
parent
e6c1874cbb
commit
aca348e783
3 changed files with 24 additions and 8 deletions
|
@ -40,6 +40,10 @@ export default {
|
|||
},
|
||||
isIos() {
|
||||
return this.$platform === 'ios'
|
||||
},
|
||||
isLowFeedback() {
|
||||
console.log('isLowFeedback', this.$store.state.deviceData.deviceSettings.enableLowFeedbackMode)
|
||||
return this.$store.state.deviceData.deviceSettings.enableLowFeedbackMode
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -56,7 +60,9 @@ export default {
|
|||
if (!data.localLibraryItem) {
|
||||
this.$toast.error(this.$strings.MessageItemDownloadCompleteFailedToCreate)
|
||||
} else {
|
||||
if (!isLowFeedback) this.$toast.success(`Item "${data.localLibraryItem.media.metadata.title}" download finished`)
|
||||
if (!this.isLowFeedback) {
|
||||
this.$toast.success(`Item "${data.localLibraryItem.media.metadata.title}" download finished`)
|
||||
}
|
||||
this.$eventBus.$emit('new-local-library-item', data.localLibraryItem)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue