fix: Fix return type check to match method successfully
This commit is contained in:
parent
e4dea682c6
commit
0a734528dc
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ internal val BytecodePatchContext.tabLayoutTextMethodMatch by composingFirstMeth
|
||||||
5,
|
5,
|
||||||
allOf(
|
allOf(
|
||||||
Opcode.INVOKE_STATIC(),
|
Opcode.INVOKE_STATIC(),
|
||||||
method { returnType == "L" && parameterTypes.size == 1 && parameterTypes.first() == "I" })
|
method { returnType.startsWith("L") && parameterTypes.size == 1 && parameterTypes.first() == "I" })
|
||||||
),
|
),
|
||||||
after(Opcode.MOVE_RESULT_OBJECT()),
|
after(Opcode.MOVE_RESULT_OBJECT()),
|
||||||
// Hide navigation buttons.
|
// Hide navigation buttons.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue