1
mirror of https://github.com/revanced/revanced-patcher synced 2024-11-27 18:13:37 +01:00

chore: format code

This commit is contained in:
Lucaskyy 2022-04-08 23:28:32 +02:00 committed by oSumAtrIX
parent cca12aa34a
commit 6c3e2d79ea
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -77,8 +77,11 @@ internal class SignatureResolver(
} }
} }
return if (signature.opcodes == null) PatternScanResult(0,0) return if (signature.opcodes == null) {
else method.implementation?.instructions?.scanFor(signature.opcodes) PatternScanResult(0, 0)
} else {
method.implementation?.instructions?.scanFor(signature.opcodes)!!
}
} }
private fun compareParameterTypes(signature: Array<String>, original: MutableList<out CharSequence>): Boolean { private fun compareParameterTypes(signature: Array<String>, original: MutableList<out CharSequence>): Boolean {