From 828a634667c4005a90f3e469ad2c5d69387f0760 Mon Sep 17 00:00:00 2001
From: MarcaD <152095496+MarcaDian@users.noreply.github.com>
Date: Sat, 19 Oct 2024 15:39:08 +0300
Subject: [PATCH] feat(YouTube - Hide Shorts components): Hide `Hashtag` button
(#3787)
---
.../layout/hide/shorts/HideShortsComponentsResourcePatch.kt | 1 +
src/main/resources/addresources/values/strings.xml | 3 +++
2 files changed, 4 insertions(+)
diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt
index 38a7e99eba..7c1f10ccc4 100644
--- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt
+++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt
@@ -55,6 +55,7 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
SwitchPreference("revanced_hide_shorts_use_template_button"),
SwitchPreference("revanced_hide_shorts_upcoming_button"),
SwitchPreference("revanced_hide_shorts_green_screen_button"),
+ SwitchPreference("revanced_hide_shorts_hashtag_button"),
SwitchPreference("revanced_hide_shorts_shop_button"),
SwitchPreference("revanced_hide_shorts_tagged_products"),
SwitchPreference("revanced_hide_shorts_stickers"),
diff --git a/src/main/resources/addresources/values/strings.xml b/src/main/resources/addresources/values/strings.xml
index 00f138b057..712d8d2fdf 100644
--- a/src/main/resources/addresources/values/strings.xml
+++ b/src/main/resources/addresources/values/strings.xml
@@ -648,6 +648,9 @@ This is because Crowdin requires temporarily flattening this file and removing t
Hide green screen button
Green screen button is hidden
Green screen button is shown
+ Hide hashtag button
+ Hashtag button is hidden
+ Hashtag button is shown
Hide search suggestions
Search suggestions are hidden
Search suggestions are shown