From d4c31b916e44033081db2d06f8c1814fc83e65fc Mon Sep 17 00:00:00 2001 From: swakwork Date: Wed, 4 Dec 2024 19:41:31 +0530 Subject: [PATCH 1/2] refactor(Twitter): Change `Customize Navbar` string in/from 10.70 --- .../revanced/integrations/twitter/settings/ScreenBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/revanced/integrations/twitter/settings/ScreenBuilder.java b/app/src/main/java/app/revanced/integrations/twitter/settings/ScreenBuilder.java index ea9dcb5739..968359883d 100644 --- a/app/src/main/java/app/revanced/integrations/twitter/settings/ScreenBuilder.java +++ b/app/src/main/java/app/revanced/integrations/twitter/settings/ScreenBuilder.java @@ -95,7 +95,7 @@ public void buildPremiumSection(boolean buildCategory){ if (SettingsStatus.navBarCustomisation) { addPreference(category, helper.buttonPreference( - strRes("custom_navigation"), + strRes("tab_customization_screen_title"), "", Settings.PREMIUM_NAVBAR ) From 4a95984322c848240a8136cc2387b1b204564d32 Mon Sep 17 00:00:00 2001 From: swakwork Date: Wed, 4 Dec 2024 19:52:58 +0530 Subject: [PATCH 2/2] fix(Twitter): app icon & customise navbar url openning in browser --- app/src/main/java/app/revanced/integrations/twitter/Utils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/app/revanced/integrations/twitter/Utils.java b/app/src/main/java/app/revanced/integrations/twitter/Utils.java index 48f9f4d8fc..20f0ff090b 100644 --- a/app/src/main/java/app/revanced/integrations/twitter/Utils.java +++ b/app/src/main/java/app/revanced/integrations/twitter/Utils.java @@ -37,6 +37,7 @@ public class Utils { public static void openUrl(String url) { Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse(url)); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + intent.setPackage(ctx.getPackageName()); ctx.startActivity(intent); }