Adds download success toasts to low feedback mode

This commit is contained in:
Tony Edwards 2023-11-30 13:23:36 +00:00
parent 1b06dbd78c
commit e6c1874cbb
2 changed files with 16 additions and 9 deletions

View file

@ -56,7 +56,7 @@ export default {
if (!data.localLibraryItem) {
this.$toast.error(this.$strings.MessageItemDownloadCompleteFailedToCreate)
} else {
this.$toast.success(`Item "${data.localLibraryItem.media.metadata.title}" download finished`)
if (!isLowFeedback) this.$toast.success(`Item "${data.localLibraryItem.media.metadata.title}" download finished`)
this.$eventBus.$emit('new-local-library-item', data.localLibraryItem)
}