diff --git a/src/renderer/components/playlist-info/playlist-info.js b/src/renderer/components/playlist-info/playlist-info.js index e2234343..3942920d 100644 --- a/src/renderer/components/playlist-info/playlist-info.js +++ b/src/renderer/components/playlist-info/playlist-info.js @@ -100,12 +100,18 @@ export default Vue.extend({ switch (method) { case 'copyYoutube': navigator.clipboard.writeText(youtubeUrl) + this.showToast({ + message: this.$t('Share.YouTube URL copied to clipboard') + }) break case 'openYoutube': this.openExternalLink(youtubeUrl) break case 'copyInvidious': navigator.clipboard.writeText(invidiousUrl) + this.showToast({ + message: this.$t('Share.Invidious URL copied to clipboard') + }) break case 'openInvidious': this.openExternalLink(invidiousUrl) @@ -131,6 +137,7 @@ export default Vue.extend({ }, ...mapActions([ + 'showToast', 'openExternalLink' ]) }