Skip to content

Commit

Permalink
fix(reddit/hide-ads): search for correct reference class descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jun 12, 2023
1 parent 18ec8f4 commit ad2a858
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class HideAdsPatch : BytecodePatch(

val reference = (it as ReferenceInstruction).reference as MethodReference

reference.name == "add" && reference.definingClass == "Lava/util/ArrayList;"
reference.name == "add" && reference.definingClass == "Ljava/util/ArrayList;"
}

result.mutableMethod.removeInstruction(index)
Expand Down

0 comments on commit ad2a858

Please sign in to comment.