File tree 2 files changed +2
-2
lines changed
src/main/kotlin/app/revanced/patcher
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ abstract class MethodFingerprint(
109
109
if (instruction.opcode.ordinal != Opcode .CONST_STRING .ordinal) return @forEachIndexed
110
110
111
111
val string = ((instruction as ReferenceInstruction ).reference as StringReference ).string
112
- val index = stringsList.indexOfFirst { it == string }
112
+ val index = stringsList.indexOfFirst( string::contains)
113
113
if (index == - 1 ) return @forEachIndexed
114
114
115
115
add(
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import kotlin.reflect.KClass
14
14
annotation class Patch (val include : Boolean = true )
15
15
16
16
/* *
17
- * Annotation for dependencies of [Patch]es .
17
+ * Annotation for dependencies of [Patch]es.
18
18
*/
19
19
@Target(AnnotationTarget .CLASS )
20
20
@Retention(AnnotationRetention .RUNTIME )
You can’t perform that action at this time.
0 commit comments