From c228187615c75d1be0670bb1f0b4ad661c2e0549 Mon Sep 17 00:00:00 2001 From: Technikte <49494924+Technikte@users.noreply.github.com> Date: Wed, 31 Aug 2022 18:03:03 +0200 Subject: [PATCH] fix: resolve fingerprint in `premium-icon-reddit` patch (#413) --- .../reddit/layout/premiumicon/patch/PremiumIconPatch.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/reddit/layout/premiumicon/patch/PremiumIconPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/layout/premiumicon/patch/PremiumIconPatch.kt index 663ba3839..1b6bfb136 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/layout/premiumicon/patch/PremiumIconPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/layout/premiumicon/patch/PremiumIconPatch.kt @@ -17,7 +17,11 @@ import app.revanced.patches.reddit.layout.premiumicon.fingerprints.PremiumIconFi @Description("Unlocking Premium Icons in reddit app.") @PremiumIconCompatibility @Version("0.0.1") -class PremiumIconPatch : BytecodePatch() { +class PremiumIconPatch : BytecodePatch( + listOf( + PremiumIconFingerprint + ) +) { override fun execute(data: BytecodeData): PatchResult { val method = PremiumIconFingerprint.result!!.mutableMethod method.addInstructions(