fix: Fix return type check to match method successfully

This commit is contained in:
oSumAtrIX
2026-03-02 18:22:39 +01:00
parent e4dea682c6
commit 0a734528dc
@@ -37,7 +37,7 @@ internal val BytecodePatchContext.tabLayoutTextMethodMatch by composingFirstMeth
5,
allOf(
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()),
// Hide navigation buttons.