From 08eb59e27648836077a22bf14ad1bacb81350741 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:07:02 +0900 Subject: [PATCH] fix(YouTube): some patches should be excluded or included by default --- .../landscapemode/disable/DisableLandScapeModePatch.kt | 3 +-- .../fullscreen/landscapemode/keep/KeepLandScapeModePatch.kt | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/disable/DisableLandScapeModePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/disable/DisableLandScapeModePatch.kt index 9cd2d19b4..86ba8f770 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/disable/DisableLandScapeModePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/disable/DisableLandScapeModePatch.kt @@ -47,8 +47,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "19.02.39" ] ) - ], - use = false + ] ) @Suppress("unused") object DisableLandScapeModePatch : BytecodePatch( diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/keep/KeepLandScapeModePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/keep/KeepLandScapeModePatch.kt index 72a9a7887..42d99eaf8 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/keep/KeepLandScapeModePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/keep/KeepLandScapeModePatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "19.02.39" ] ) - ] + ], + use = false ) @Suppress("unused") object KeepLandScapeModePatch : BytecodePatch(