Skip to content

Commit

Permalink
fix: resolve fingerprint in premium-icon-reddit patch (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technikte committed Aug 31, 2022
1 parent 8011ad0 commit 60ec2c6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 60ec2c6

Please sign in to comment.