From ee62fc0fd947d509445fa6c1647551ce22fdfebf Mon Sep 17 00:00:00 2001 From: Sherif Lawal <64317588+Lawhacknifemi@users.noreply.github.com> Date: Sat, 31 Aug 2024 12:09:23 +0100 Subject: [PATCH] Update link_builder.dart twiter name-space has been moved to x --- lib/application/link_builder/link_builder.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application/link_builder/link_builder.dart b/lib/application/link_builder/link_builder.dart index 10f384e..3a1da27 100644 --- a/lib/application/link_builder/link_builder.dart +++ b/lib/application/link_builder/link_builder.dart @@ -37,7 +37,7 @@ class TwitterLinkBuilder implements LinkBuilder { @override Future buildLink(String url) async { String parsedUrl = - "twitter://user/?screen_name=${Uri.parse(url).pathSegments.lastWhere((item) => item.isNotEmpty)}"; + "x://user/?screen_name=${Uri.parse(url).pathSegments.lastWhere((item) => item.isNotEmpty)}"; return parsedUrl; }