Removes low feedback toggle

This commit is contained in:
Tony Edwards
2023-12-08 07:19:23 +00:00
parent 78448894d2
commit 9a32396daa
8 changed files with 37 additions and 91 deletions
+6 -14
View File
@@ -152,9 +152,6 @@ export default {
},
localEpisodeId() {
return this.localEpisode?.id || null
},
isLowFeedback() {
return this.$store.state.deviceData.deviceSettings.enableLowFeedbackMode
}
},
methods: {
@@ -213,19 +210,14 @@ export default {
console.log('Local folder', JSON.stringify(localFolder))
if (this.isLowFeedback) {
var startDownloadMessage = `Start download for "${this.title}" to folder ${localFolder.name}?`
const { value } = await Dialog.confirm({
title: 'Confirm',
message: startDownloadMessage
})
if (value) {
this.startDownload(localFolder)
} else {
var startDownloadMessage = `Start download for "${this.title}" to folder ${localFolder.name}?`
const { value } = await Dialog.confirm({
title: 'Confirm',
message: startDownloadMessage
})
if (value) {
this.startDownload(localFolder)
}
}
},
async startDownload(localFolder) {
var payload = {
+7 -14
View File
@@ -158,9 +158,6 @@ export default {
},
podcast() {
return this.episode.podcast || {}
},
isLowFeedback() {
return this.$store.state.deviceData.deviceSettings.enableLowFeedbackMode
}
},
methods: {
@@ -219,18 +216,14 @@ export default {
console.log('Local folder', JSON.stringify(localFolder))
if (this.isLowFeedback) {
var startDownloadMessage = `Start download for "${this.title}" to folder ${localFolder.name}?`
const { value } = await Dialog.confirm({
title: 'Confirm',
message: startDownloadMessage
})
if (value) {
this.startDownload(localFolder)
} else {
var startDownloadMessage = `Start download for "${this.title}" to folder ${localFolder.name}?`
const { value } = await Dialog.confirm({
title: 'Confirm',
message: startDownloadMessage
})
if (value) {
this.startDownload(localFolder)
}
}
}
},
async startDownload(localFolder) {
var payload = {
@@ -40,10 +40,6 @@ 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: {
@@ -60,9 +56,7 @@ export default {
if (!data.localLibraryItem) {
this.$toast.error(this.$strings.MessageItemDownloadCompleteFailedToCreate)
} else {
if (!this.isLowFeedback) {
this.$toast.success(`Item "${data.localLibraryItem.media.metadata.title}" download finished`)
}
this.$toast.success(`Item "${data.localLibraryItem.media.metadata.title}" download finished`)
this.$eventBus.$emit('new-local-library-item', data.localLibraryItem)
}