diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt index 5070f4cd4..5a1c1a76d 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt @@ -11,7 +11,6 @@ import app.revanced.patches.youtube.utils.integrations.Constants.GENERAL import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.YtOutlineArrowTimeBlack import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.YtOutlineFireBlack -import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.YtOutlineNewSearchBlack import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.YtOutlineSearchBlack import app.revanced.patches.youtube.utils.settings.SettingsPatch import app.revanced.util.exception @@ -106,7 +105,6 @@ object TrendingSearchesPatch : BytecodePatch( private enum class SearchTerm(val resourceId: Long, val value: Int) { HISTORY(YtOutlineArrowTimeBlack, 0), SEARCH(YtOutlineSearchBlack, 0), - NEW_SEARCH(YtOutlineNewSearchBlack, 1), TRENDING(YtOutlineFireBlack, 1) } } \ No newline at end of file diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/resourceid/SharedResourceIdPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/resourceid/SharedResourceIdPatch.kt index 19c21fdda..d14a4739e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/resourceid/SharedResourceIdPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/resourceid/SharedResourceIdPatch.kt @@ -88,7 +88,6 @@ object SharedResourceIdPatch : ResourcePatch() { var YoutubeControlsOverlaySubtitleButton: Long = -1 var YtOutlineArrowTimeBlack: Long = -1 var YtOutlineFireBlack: Long = -1 - var YtOutlineNewSearchBlack: Long = -1 var YtOutlineSearchBlack: Long = -1 override fun execute(context: ResourceContext) { @@ -174,7 +173,6 @@ object SharedResourceIdPatch : ResourcePatch() { YoutubeControlsOverlaySubtitleButton = find(LAYOUT, "youtube_controls_overlay_subtitle_button") YtOutlineArrowTimeBlack = find(DRAWABLE, "yt_outline_arrow_time_black_24") YtOutlineFireBlack = find(DRAWABLE, "yt_outline_fire_black_24") - YtOutlineNewSearchBlack = find(DRAWABLE, "yt_outline_new_search_black_24") YtOutlineSearchBlack = find(DRAWABLE, "yt_outline_search_black_24") } diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index 031428a32..4699bbdb4 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -2,166 +2,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + - + - + + + - - - + + - - + - + - + - + - + + + - - - - + - + - - + - - - + - - + - - + - - + - - + - - + - + + - - + - - + - - + - + - + - - + - - + - - + - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + SETTINGS: KEEP_LANDSCAPE_MODE --> - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - + - - + - - + - - + - - + - - + - - + - - - - - - - + - - + - - - + - - - + - - - + - - + - - + - - - + - - + - - + - - + - - - + - - + - - + - - - - - - - - - - - - - - - - - - - - + - - + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - + - - + - - + - - - + + + - - - - + - - + - - + - + - - + - - + - - + - - + @@ -588,42 +359,42 @@ - + - - + - - + - - + - - + - + - + - + - - + - + @@ -662,7 +433,6 @@ - @@ -711,7 +481,6 @@ - @@ -726,7 +495,6 @@ - @@ -743,7 +511,7 @@ - + @@ -767,11 +535,251 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +