From ec68f164a40131a3e86699f4ef3fb1f68af5fdd6 Mon Sep 17 00:00:00 2001
From: inotia00 <108592928+inotia00@users.noreply.github.com>
Date: Sat, 28 Sep 2024 23:05:41 +0900
Subject: [PATCH] feat(YouTube/Shorts Component): always hide suggested actions
if all sub-settings of the suggested actions category are enabled
---
.../youtube/settings/host/values/strings.xml | 55 +++++++++++--------
.../youtube/settings/xml/revanced_prefs.xml | 19 ++++---
2 files changed, 42 insertions(+), 32 deletions(-)
diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml
index 3b702897af..4b5db619e0 100644
--- a/src/main/resources/youtube/settings/host/values/strings.xml
+++ b/src/main/resources/youtube/settings/host/values/strings.xml
@@ -1133,30 +1133,6 @@ Side effect: Official headers in search results will be hidden."
Hide Shopping button
Shopping button is hidden.
Shopping button is shown.
- Hide Shop button
- Shop button is hidden.
- Shop button is shown.
- Hide Super Thanks button
- Super Thanks button is hidden.
- Super Thanks button is shown.
- Hide tagged products
- Tagged products are hidden.
- Tagged products are shown.
- Hide location button
- Location button is hidden.
- Location button is shown.
- Hide save sound to playlist button
- Save sound to playlist button is hidden.
- Save sound to playlist button is shown.
- Hide search suggestions button
- Search suggestions button is hidden.
- Search suggestions button is shown.
- Hide Use this sound button
- Use this sound button is hidden.
- Use this sound button is shown.
- Hide Use template button
- Use template button is hidden.
- Use template button is shown.
Hide info panels
Info panels are hidden.
Info panels are shown.
@@ -1176,6 +1152,37 @@ Side effect: Official headers in search results will be hidden."
Video link label is hidden.
Video link label is shown.
+
+ Suggested actions
+
+ Hide Green screen button
+ Green screen button is hidden.
+ Green screen button is shown.
+ Hide Save sound button
+ Save sound button is hidden.
+ Save sound button is shown.
+ Hide Shop button
+ Shop button is hidden.
+ Shop button is shown.
+ Hide Super Thanks button
+ Super Thanks button is hidden.
+ Super Thanks button is shown.
+ Hide Use this sound button
+ Use this sound button is hidden.
+ Use this sound button is shown.
+ Hide Use template button
+ Use template button is hidden.
+ Use template button is shown.
+ Hide location button
+ Location button is hidden.
+ Location button is shown.
+ Hide search suggestions button
+ Search suggestions button is hidden.
+ Search suggestions button is shown.
+ Hide tagged products
+ Tagged products are hidden.
+ Tagged products are shown.
+
Action buttons
Hide Like button
diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
index f41080a102..52145cf335 100644
--- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml
+++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
@@ -501,14 +501,6 @@
-
-
-
-
-
-
-
-
@@ -516,6 +508,17 @@
+
+
+
+
+
+
+
+
+
+
+