mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 13:39:27 +01:00
feat(twitter): constrain patches compatibility to working versions (#1646)
This commit is contained in:
parent
6a1701e80a
commit
d984bdc8b1
@ -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
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user