diff --git a/src/main.ts b/src/main.ts index ca5bf8c..1e072f1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -788,8 +788,8 @@ class MotifApp { shareUrl = window.location.href; } - // Compose tweet text - const tweetText = `I made ${title} game boy version. Click to listen or generate your own, made in Wario Synth by @b1rdmania`; + // Compose tweet text - URL will be inserted by Twitter between the two parts + const tweetText = `I made ${title} Game Boy version.\n\nMade in Wario Synth by @b1rdmania`; const twitterUrl = `https://twitter.com/intent/tweet?text=${encodeURIComponent(tweetText)}&url=${encodeURIComponent(shareUrl)}`; window.open(twitterUrl, '_blank', 'width=550,height=420');