From 2a3bedd5608d2f23b174c4227ac167e44e54215e Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 15 Jan 2023 17:59:27 +0400 Subject: [PATCH] fix(reddit/general-reddit-ads): specify last version that works correctly (#1495) --- .../ad/general/annotations/GeneralAdsCompatibility.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/reddit/ad/general/annotations/GeneralAdsCompatibility.kt b/src/main/kotlin/app/revanced/patches/reddit/ad/general/annotations/GeneralAdsCompatibility.kt index 0666c8769..a6cce7b1b 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/ad/general/annotations/GeneralAdsCompatibility.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/ad/general/annotations/GeneralAdsCompatibility.kt @@ -3,7 +3,11 @@ package app.revanced.patches.reddit.ad.general.annotations import app.revanced.patcher.annotation.Compatibility import app.revanced.patcher.annotation.Package -@Compatibility([Package("com.reddit.frontpage")]) +@Compatibility( + [Package( + "com.reddit.frontpage", arrayOf("2022.43.0") + )] +) @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) internal annotation class GeneralAdsCompatibility