feat(twitter): constrain patches compatibility to working versions (#1646)

This commit is contained in:
LisoUseInAIKyrios 2023-02-20 02:15:12 +04:00 committed by GitHub
parent 6a1701e80a
commit d984bdc8b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,11 @@ package app.revanced.patches.twitter.ad.timeline.annotations
import app.revanced.patcher.annotation.Compatibility import app.revanced.patcher.annotation.Compatibility
import app.revanced.patcher.annotation.Package import app.revanced.patcher.annotation.Package
@Compatibility([Package("com.twitter.android")]) @Compatibility(
[Package(
"com.twitter.android", arrayOf("9.65.3-release.0")
)]
)
@Target(AnnotationTarget.CLASS) @Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME) @Retention(AnnotationRetention.RUNTIME)
internal annotation class TimelineAdsCompatibility internal annotation class TimelineAdsCompatibility

View File

@ -5,7 +5,7 @@ import app.revanced.patcher.annotation.Package
@Compatibility( @Compatibility(
[Package( [Package(
"com.twitter.android", arrayOf("9.69.1-release.0") "com.twitter.android", arrayOf("9.69.1-release.0", "9.71.0-release.0")
)] )]
) )
@Target(AnnotationTarget.CLASS) @Target(AnnotationTarget.CLASS)