fix: Fix return type check to match method successfully

This commit is contained in:
oSumAtrIX 2026-03-02 18:21:05 +01:00
parent e4dea682c6
commit 0a734528dc
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

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