Apply suggestion from @oSumAtrIX

This commit is contained in:
oSumAtrIX 2026-03-20 20:11:23 +01:00 committed by GitHub
parent d824190a14
commit dc1c538fa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ val restoreOldEmojiDrawerPatch = bytecodePatch(
apply { apply {
val isRedesignedDrawerEnabledMethod = with(renderRedesignedDrawerMethodMatch) { val isRedesignedDrawerEnabledMethod = with(renderRedesignedDrawerMethodMatch) {
firstMethod(it.method.getInstruction(this[0]).methodReference!!) firstMethod(method.getInstruction(get(0)).methodReference!!)
} }
isRedesignedDrawerEnabledMethod.returnEarly(false) isRedesignedDrawerEnabledMethod.returnEarly(false)
} }