mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-09 16:57:05 +01:00
fix(reddit/hide-ads): search for correct reference class descriptor
This commit is contained in:
parent
18ec8f46dd
commit
ad2a8585b2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user