Apply suggestion from @oSumAtrIX
This commit is contained in:
parent
541fbeeae8
commit
02b459200e
1 changed files with 2 additions and 3 deletions
|
|
@ -14,10 +14,9 @@ val restoreOldEmojiDrawerPatch = bytecodePatch(
|
|||
compatibleWith("com.facebook.orca")
|
||||
|
||||
apply {
|
||||
val isRedesignedDrawerEnabledMethodReference = renderRedesignedDrawerMethodMatch.let {
|
||||
it.method.getInstruction(it[0]).methodReference!!
|
||||
val isRedesignedDrawerEnabledMethod = with(renderRedesignedDrawerMethodMatch) {
|
||||
firstMethod(it.method.getInstruction(it[0]).methodReference!!)
|
||||
}
|
||||
val isRedesignedDrawerEnabledMethod = firstMethod(isRedesignedDrawerEnabledMethodReference)
|
||||
isRedesignedDrawerEnabledMethod.returnEarly(false)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue