From fb41c055d6e7444a06a61ac3fad2579c130584a6 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Mon, 6 Jan 2025 20:20:34 -0500 Subject: [PATCH] ShareDialog: fix share on Twitter URL At some point, X (Formerly known as Twitter) changed the URL to share Tweets. This changes it to the now correct URL. Signed-off-by: Ethan Carter Edwards --- src/components/views/dialogs/ShareDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/ShareDialog.tsx b/src/components/views/dialogs/ShareDialog.tsx index 3feff26f8f7..b64d0dd197c 100644 --- a/src/components/views/dialogs/ShareDialog.tsx +++ b/src/components/views/dialogs/ShareDialog.tsx @@ -32,7 +32,7 @@ const SOCIALS = [ { name: "Twitter", img: require("../../../../res/img/social/twitter-2.png"), - url: (url: string) => `https://twitter.com/home?status=${url}`, + url: (url: string) => `https://twitter.com/intent/tweet?text=${url}`, }, { name: "LinkedIn",