From 804c2a174cdb8435a5a7c40b8661afc15c577b58 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 31 Jul 2023 08:49:17 +0200 Subject: [PATCH] Fix twitter again --- .../main/java/net/crystalyx/sharewithtitle/MainActivity.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ShareWithTitle/src/main/java/net/crystalyx/sharewithtitle/MainActivity.java b/ShareWithTitle/src/main/java/net/crystalyx/sharewithtitle/MainActivity.java index c49fbf3..5326317 100644 --- a/ShareWithTitle/src/main/java/net/crystalyx/sharewithtitle/MainActivity.java +++ b/ShareWithTitle/src/main/java/net/crystalyx/sharewithtitle/MainActivity.java @@ -35,10 +35,7 @@ public class MainActivity extends Activity { case "twitter.com": case "t.co": case "x.com": - fixedUrl = new URL(originalUrl.getProtocol(), "fxtwitter.com", originalUrl.getPort(), originalUrl.getFile()); - break; - case "pixiv.net": - fixedUrl = new URL(originalUrl.getProtocol(), "ppxiv.net", originalUrl.getPort(), originalUrl.getFile()); + fixedUrl = new URL(originalUrl.getProtocol(), "nitter.net", originalUrl.getPort(), originalUrl.getFile()); break; default: fixedUrl = originalUrl;