diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt index b2839f6fb..22d1f46df 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt @@ -23,8 +23,8 @@ val versionInfoPatch = bytecodePatch( val runPatch: (Fingerprint) -> Unit = { val versionInfo = it.method.instructions .filterIsInstance() - .first { - it.opcode == Opcode.CONST_STRING + .first { inst -> + inst.opcode == Opcode.CONST_STRING } val versionString = (versionInfo.reference as StringReference).string