diff --git a/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt index 7ac81ddf1..5f1e279f9 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt @@ -14,10 +14,10 @@ import app.revanced.patches.youtube.shorts.components.fingerprints.ShortsInfoPan import app.revanced.patches.youtube.shorts.components.fingerprints.ShortsPaidPromotionFingerprint import app.revanced.patches.youtube.shorts.components.fingerprints.ShortsPivotFingerprint import app.revanced.patches.youtube.shorts.components.fingerprints.ShortsPivotLegacyFingerprint -import app.revanced.patches.youtube.utils.browseid.BrowseIdHookPatch import app.revanced.patches.youtube.utils.integrations.Constants.COMPATIBLE_PACKAGE import app.revanced.patches.youtube.utils.integrations.Constants.COMPONENTS_PATH import app.revanced.patches.youtube.utils.integrations.Constants.SHORTS_CLASS_DESCRIPTOR +import app.revanced.patches.youtube.utils.navigation.NavigationBarHookPatch import app.revanced.patches.youtube.utils.playertype.PlayerTypeHookPatch import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.ReelDynRemix @@ -44,8 +44,8 @@ object ShortsComponentPatch : BaseBytecodePatch( name = "Hide shorts components", description = "Adds options to hide components related to YouTube Shorts.", dependencies = setOf( - BrowseIdHookPatch::class, LithoFilterPatch::class, + NavigationBarHookPatch::class, PlayerTypeHookPatch::class, SettingsPatch::class, SharedResourceIdPatch::class, diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index 0dac74a17..0f6a9cfe2 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -151,9 +151,9 @@ Tap here to learn more about DeArrow." Hide in related videos Hidden in related videos. Shown in related videos. - Hide in search - Hidden in search. - Shown in search. + Hide in search results + Hidden in search results. + Shown in search results. Channel profile @@ -598,7 +598,7 @@ Instead, use the 'Settings → Autoplay → Autoplay next video' setting."Show video title section "Shows the video title section in full screen. -Known issue: Video title disappears when clicked." +Limitation: Video title disappears when clicked." Autoplay preview container is hidden. Autoplay preview container is shown. Hide autoplay preview container @@ -865,10 +865,20 @@ Please download %s from the website." Hide shorts shelf "Hides Shorts shelves. -Known issue: Official headers in search results will be hidden." - Show in watch history - Shorts shelves in watch history is shown. - Shorts shelves in watch history is hidden. +Limitation: Official headers in search results will be hidden." + + Hide in home feed and related videos + Hidden in home feed and related videos. + Shown in home feed and related videos. + Hide in subscriptions feed + Hidden in subscriptions feed. + Shown in subscriptions feed. + Hide in search results + Hidden in search results. + Shown in search results. + Hide in watch history + Hidden in watch history. + Shown in watch history. @@ -1226,7 +1236,7 @@ Known issue: Official headers in search results will be hidden." Spoof player parameter "Spoofs player parameters to prevent playback issues. -Known issues: +Limitations: • Enhanced bitrate is not available. • No seekbar thumbnails for paid videos. • Offline downloads may not work. @@ -1234,10 +1244,10 @@ Known issues: Spoof player parameter in feed "Player parameter spoofed for feed videos. -Known issue: Automatically played feed videos will show up in your watch history." +Limitation: Automatically played feed videos will show up in your watch history." "Player parameter not spoofed for feed videos. -Known issue: Feed videos will play for less than 1 minute before encountering playback issues." +Limitation: Feed videos will play for less than 1 minute before encountering playback issues." Import / Export settings diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index c1d292695..5e27d5a09 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -375,7 +375,10 @@