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")
|
compatibleWith("com.facebook.orca")
|
||||||
|
|
||||||
apply {
|
apply {
|
||||||
val isRedesignedDrawerEnabledMethodReference = renderRedesignedDrawerMethodMatch.let {
|
val isRedesignedDrawerEnabledMethod = with(renderRedesignedDrawerMethodMatch) {
|
||||||
it.method.getInstruction(it[0]).methodReference!!
|
firstMethod(it.method.getInstruction(it[0]).methodReference!!)
|
||||||
}
|
}
|
||||||
val isRedesignedDrawerEnabledMethod = firstMethod(isRedesignedDrawerEnabledMethodReference)
|
|
||||||
isRedesignedDrawerEnabledMethod.returnEarly(false)
|
isRedesignedDrawerEnabledMethod.returnEarly(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue