fix(reddit/hide-ads): search for correct reference class descriptor

This commit is contained in:
oSumAtrIX 2023-06-13 00:50:36 +02:00
parent 18ec8f46dd
commit ad2a8585b2
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -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)