From a4cbe4e6ae3fbb9143eabdc5b72b1760a7e96a4a Mon Sep 17 00:00:00 2001 From: crimera <44558091+crimera@users.noreply.github.com> Date: Sun, 25 Aug 2024 11:02:16 +0800 Subject: [PATCH] update(Settings): Changed some icons for consistency. --- .../integrations/twitter/settings/ScreenBuilder.java | 8 ++++---- .../integrations/twitter/settings/widgets/ButtonPref.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 672b7e1fc1..84956cf14a 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 @@ -420,7 +420,7 @@ public void buildFeatureFlagsSection(boolean buildCategory){ strRes("delete")+": "+strRes("piko_title_feature_flags"), "", Settings.RESET_FLAGS, - "vector_delete_icon", + "ic_vector_trashcan_stroke", "#DE0025" ) ); @@ -674,7 +674,7 @@ public void buildExportSection(boolean buildCategory){ strRes("delete")+": "+strRes("piko_name")+" "+strRes("settings_notification_pref_item_title"), "", Settings.RESET_PREF, - "vector_delete_icon", + "ic_vector_trashcan_stroke", "#DE0025" ) ); @@ -721,7 +721,7 @@ public void buildSinglePageSettings(){ strRes("piko_title_feature_flags"), "", Settings.FLAGS_SECTION, - "ic_admin_tools_flagged",null + "ic_vector_flag",null ) ); } @@ -807,4 +807,4 @@ public String strEnableRes(String tag) { //end -} \ No newline at end of file +} diff --git a/app/src/main/java/app/revanced/integrations/twitter/settings/widgets/ButtonPref.java b/app/src/main/java/app/revanced/integrations/twitter/settings/widgets/ButtonPref.java index 8b273f5b1d..8d2b99d51d 100644 --- a/app/src/main/java/app/revanced/integrations/twitter/settings/widgets/ButtonPref.java +++ b/app/src/main/java/app/revanced/integrations/twitter/settings/widgets/ButtonPref.java @@ -60,7 +60,7 @@ private void init() { int clr = Color.RED; - if (!iconName.contains("delete")) { + if (!iconName.contains("trashcan")) { int[] textColorAttr = {context.getResources().getIdentifier("coreColorPrimaryText", "attr", context.getPackageName())}; TypedArray typedValue = context.obtainStyledAttributes(textColorAttr); clr = typedValue.getColor(0, 0);