From 5b45fb824594329daf4aee45de355d4188afd754 Mon Sep 17 00:00:00 2001
From: inotia00 <108592928+inotia00@users.noreply.github.com>
Date: Fri, 18 Oct 2024 21:39:46 +0900
Subject: [PATCH] feat(YouTube/Shorts components): add `Hide in channel`
setting (Hide the Shorts shelf on the channel home tab)
---
src/main/resources/youtube/settings/host/values/strings.xml | 6 ++++++
src/main/resources/youtube/settings/xml/revanced_prefs.xml | 1 +
2 files changed, 7 insertions(+)
diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml
index abca0190a..2a1c6f1cc 100644
--- a/src/main/resources/youtube/settings/host/values/strings.xml
+++ b/src/main/resources/youtube/settings/host/values/strings.xml
@@ -1158,6 +1158,12 @@ The Expand video description option may not work if the entered string does not
"Hides Shorts shelves.
Side effect: Official headers in search results will be hidden."
+ Hide in channel
+ "Hidden in channel.
+
+Info:
+• Only shelves with the Shorts header on the home tab are hidden."
+ Shown in channel.
Hide in home feed and related videos
Hidden in home feed and related videos.
Shown in home feed and related videos.
diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
index 54a778ea0..9ccc1a401 100644
--- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml
+++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
@@ -575,6 +575,7 @@
+