mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-04 12:12:57 +01:00
fix: resolve fingerprint in premium-icon-reddit
patch (#413)
This commit is contained in:
parent
8011ad02bc
commit
60ec2c6f8a
@ -17,7 +17,11 @@ import app.revanced.patches.reddit.layout.premiumicon.fingerprints.PremiumIconFi
|
|||||||
@Description("Unlocking Premium Icons in reddit app.")
|
@Description("Unlocking Premium Icons in reddit app.")
|
||||||
@PremiumIconCompatibility
|
@PremiumIconCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class PremiumIconPatch : BytecodePatch() {
|
class PremiumIconPatch : BytecodePatch(
|
||||||
|
listOf(
|
||||||
|
PremiumIconFingerprint
|
||||||
|
)
|
||||||
|
) {
|
||||||
override fun execute(data: BytecodeData): PatchResult {
|
override fun execute(data: BytecodeData): PatchResult {
|
||||||
val method = PremiumIconFingerprint.result!!.mutableMethod
|
val method = PremiumIconFingerprint.result!!.mutableMethod
|
||||||
method.addInstructions(
|
method.addInstructions(
|
||||||
|
Loading…
Reference in New Issue
Block a user