From 094ae59fc92663fff6c5d6f5cbece41822a326f9 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 28 Jul 2024 14:16:19 -0400 Subject: [PATCH] fix(YouTube - Bypass image region restrictions): Move setting to `Misc` menu The setting is closer in nature to the other settings in Misc than the settings in the General menu. --- .../youtube/layout/thumbnails/BypassImageRegionRestrictions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/BypassImageRegionRestrictions.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/BypassImageRegionRestrictions.kt index 132f5c96a..faf77ddab 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/BypassImageRegionRestrictions.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/BypassImageRegionRestrictions.kt @@ -60,7 +60,7 @@ object BypassImageRegionRestrictions : BytecodePatch(emptySet()) { override fun execute(context: BytecodeContext) { AddResourcesPatch(this::class) - SettingsPatch.PreferenceScreen.GENERAL_LAYOUT.addPreferences( + SettingsPatch.PreferenceScreen.MISC.addPreferences( SwitchPreference("revanced_bypass_image_region_restrictions") )