mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 16:39:26 +01:00
fix: incorrect compatibilty attribute (#296)
This commit is contained in:
parent
a0e777bd77
commit
0ab3e97241
@ -1,26 +1,24 @@
|
|||||||
package app.revanced.patches.warnwetter.misc.promocode.fingerprints
|
package app.revanced.patches.warnwetter.misc.promocode.fingerprints
|
||||||
|
|
||||||
import app.revanced.patcher.annotation.Name
|
import app.revanced.patcher.annotation.Name
|
||||||
import app.revanced.patcher.annotation.Version
|
import app.revanced.patcher.annotation.Version
|
||||||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
|
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
|
||||||
import app.revanced.patcher.fingerprint.method.annotation.MatchingMethod
|
import app.revanced.patcher.fingerprint.method.annotation.MatchingMethod
|
||||||
import app.revanced.patches.youtube.layout.createbutton.annotations.CreateButtonCompatibility
|
import app.revanced.patches.warnwetter.misc.promocode.annotations.PromoCodeUnlockCompatibility
|
||||||
import org.jf.dexlib2.AccessFlags
|
|
||||||
import org.jf.dexlib2.Opcode
|
@Name("promo-code-unlock-fingerprint")
|
||||||
|
@MatchingMethod(
|
||||||
@Name("promo-code-unlock-fingerprint")
|
"Lde/dwd/warnapp/model/PromoTokenVerification;", "isValid"
|
||||||
@MatchingMethod(
|
)
|
||||||
"Lde/dwd/warnapp/model/PromoTokenVerification;", "isValid"
|
@PromoCodeUnlockCompatibility
|
||||||
)
|
@Version("0.0.1")
|
||||||
@CreateButtonCompatibility
|
object PromoCodeUnlockFingerprint : MethodFingerprint(
|
||||||
@Version("0.0.1")
|
null,
|
||||||
object PromoCodeUnlockFingerprint : MethodFingerprint(
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
{ methodDef ->
|
||||||
null,
|
methodDef.definingClass.endsWith("PromoTokenVerification;") && methodDef.name == "isValid"
|
||||||
{ methodDef ->
|
}
|
||||||
methodDef.definingClass.endsWith("PromoTokenVerification;") && methodDef.name == "isValid"
|
|
||||||
}
|
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user