Skip to content

Commit ad1ae76

Browse files
committed
Use classDef.type
1 parent 78adfbd commit ad1ae76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/src/main/kotlin/app/revanced/patches/spotify/misc/Fingerprints.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ internal val abstractProtobufListEnsureIsMutableFingerprint = fingerprint {
120120

121121
internal fun structureGetSectionsFingerprint(className: String) = fingerprint {
122122
custom { method, classDef ->
123-
classDef.endsWith(className) && method.indexOfFirstInstruction {
123+
classDef.type.endsWith(className) && method.indexOfFirstInstruction {
124124
opcode == Opcode.IGET_OBJECT && getReference<FieldReference>()?.name == "sections_"
125125
} >= 0
126126
}

0 commit comments

Comments
 (0)