mirror of
https://github.com/revanced/revanced-patches
synced 2024-06-02 11:26:20 +02:00
9efd7904ac
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
12 lines
481 B
Kotlin
12 lines
481 B
Kotlin
package app.revanced.patches.reddit.customclients.infinityforreddit.api.fingerprints
|
|
|
|
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
|
|
|
|
abstract class AbstractClientIdFingerprint(classTypeSuffix: String, methodName: String) : MethodFingerprint(
|
|
strings = listOf("NOe2iKrPPzwscA"),
|
|
customFingerprint = custom@{ methodDef, classDef ->
|
|
if (!classDef.type.endsWith(classTypeSuffix)) return@custom false
|
|
|
|
methodDef.name == methodName
|
|
}
|
|
) |