diff --git a/src/main/kotlin/app/revanced/patches/warnwetter/misc/promocode/fingerprints/PromoCodeUnlockFingerprint.kt b/src/main/kotlin/app/revanced/patches/warnwetter/misc/promocode/fingerprints/PromoCodeUnlockFingerprint.kt index 41d980d0..c32001e8 100644 --- a/src/main/kotlin/app/revanced/patches/warnwetter/misc/promocode/fingerprints/PromoCodeUnlockFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/warnwetter/misc/promocode/fingerprints/PromoCodeUnlockFingerprint.kt @@ -1,26 +1,24 @@ -package app.revanced.patches.warnwetter.misc.promocode.fingerprints - -import app.revanced.patcher.annotation.Name -import app.revanced.patcher.annotation.Version -import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint -import app.revanced.patcher.fingerprint.method.annotation.MatchingMethod -import app.revanced.patches.youtube.layout.createbutton.annotations.CreateButtonCompatibility -import org.jf.dexlib2.AccessFlags -import org.jf.dexlib2.Opcode - -@Name("promo-code-unlock-fingerprint") -@MatchingMethod( - "Lde/dwd/warnapp/model/PromoTokenVerification;", "isValid" -) -@CreateButtonCompatibility -@Version("0.0.1") -object PromoCodeUnlockFingerprint : MethodFingerprint( - null, - null, - null, - null, - null, - { methodDef -> - methodDef.definingClass.endsWith("PromoTokenVerification;") && methodDef.name == "isValid" - } +package app.revanced.patches.warnwetter.misc.promocode.fingerprints + +import app.revanced.patcher.annotation.Name +import app.revanced.patcher.annotation.Version +import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint +import app.revanced.patcher.fingerprint.method.annotation.MatchingMethod +import app.revanced.patches.warnwetter.misc.promocode.annotations.PromoCodeUnlockCompatibility + +@Name("promo-code-unlock-fingerprint") +@MatchingMethod( + "Lde/dwd/warnapp/model/PromoTokenVerification;", "isValid" +) +@PromoCodeUnlockCompatibility +@Version("0.0.1") +object PromoCodeUnlockFingerprint : MethodFingerprint( + null, + null, + null, + null, + null, + { methodDef -> + methodDef.definingClass.endsWith("PromoTokenVerification;") && methodDef.name == "isValid" + } ) \ No newline at end of file