From 7403fc86ae7b7d756a2939fa0a507f237aaf6edf Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 2 Apr 2023 06:13:11 +0200 Subject: [PATCH] feat(youtube): constrain compatibility to `18.08.37` --- .../RememberVideoQualityCompatibility.kt | 13 +------------ .../RememberPlaybackSpeedCompatibility.kt | 13 +------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/video/quality/annotations/RememberVideoQualityCompatibility.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/video/quality/annotations/RememberVideoQualityCompatibility.kt index d37cab1d3..ffb5921b5 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/video/quality/annotations/RememberVideoQualityCompatibility.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/video/quality/annotations/RememberVideoQualityCompatibility.kt @@ -4,18 +4,7 @@ import app.revanced.patcher.annotation.Compatibility import app.revanced.patcher.annotation.Package @Compatibility( - [Package( - "com.google.android.youtube", arrayOf( - "17.49.37", - "18.03.36", - "18.03.42", - "18.04.35", - "18.04.41", - "18.05.32", - "18.05.35", - "18.05.40" - ) - )] + [Package("com.google.android.youtube", arrayOf("18.08.37"))] ) @Target(AnnotationTarget.CLASS) internal annotation class RememberVideoQualityCompatibility diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/video/speed/remember/annotation/RememberPlaybackSpeedCompatibility.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/video/speed/remember/annotation/RememberPlaybackSpeedCompatibility.kt index ea47d1e68..39a5f7a9b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/video/speed/remember/annotation/RememberPlaybackSpeedCompatibility.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/video/speed/remember/annotation/RememberPlaybackSpeedCompatibility.kt @@ -4,18 +4,7 @@ import app.revanced.patcher.annotation.Compatibility import app.revanced.patcher.annotation.Package @Compatibility( - [Package( - "com.google.android.youtube", arrayOf( - "17.49.37", - "18.03.36", - "18.03.42", - "18.04.35", - "18.04.41", - "18.05.32", - "18.05.35", - "18.05.40" - ) - )] + [Package("com.google.android.youtube", arrayOf("18.08.37"))] ) @Target(AnnotationTarget.CLASS) internal annotation class RememberPlaybackSpeedCompatibility