From f1ba16ebfe2fda86af96d094481ed472eebcb4f9 Mon Sep 17 00:00:00 2001 From: johnconner122 <107796137+johnconner122@users.noreply.github.com> Date: Sun, 2 Jul 2023 16:29:55 +0500 Subject: [PATCH] fix(infinityforreddit/change-oauth-client-id): patch correct method (#2564) --- ...derFingerprint.kt => GetHttpBasicAuthHeaderFingerprint.kt} | 4 ++-- .../infinityforreddit/api/patch/ChangeOAuthClientIdPatch.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/{GetHTTPBasicAuthHeaderFingerprint.kt => GetHttpBasicAuthHeaderFingerprint.kt} (54%) diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/GetHTTPBasicAuthHeaderFingerprint.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/GetHttpBasicAuthHeaderFingerprint.kt similarity index 54% rename from src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/GetHTTPBasicAuthHeaderFingerprint.kt rename to src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/GetHttpBasicAuthHeaderFingerprint.kt index 3bff5626c..c7e3f0ae9 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/GetHTTPBasicAuthHeaderFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/fingerprints/GetHttpBasicAuthHeaderFingerprint.kt @@ -1,6 +1,6 @@ package app.revanced.patches.reddit.customclients.infinityforreddit.api.fingerprints -object GetHTTPBasicAuthHeaderFingerprint : AbstractClientIdFingerprint( +object GetHttpBasicAuthHeaderFingerprint : AbstractClientIdFingerprint( "APIUtils;", - "getHTTPBasicAuthHeader" + "getHttpBasicAuthHeader" ) \ No newline at end of file diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/ChangeOAuthClientIdPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/ChangeOAuthClientIdPatch.kt index ae7608c85..a2fa1ad42 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/ChangeOAuthClientIdPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/ChangeOAuthClientIdPatch.kt @@ -11,7 +11,7 @@ import app.revanced.patcher.patch.PatchResult import app.revanced.patcher.patch.PatchResultSuccess import app.revanced.patches.reddit.customclients.AbstractChangeOAuthClientIdPatch import app.revanced.patches.reddit.customclients.ChangeOAuthClientIdPatchAnnotation -import app.revanced.patches.reddit.customclients.infinityforreddit.api.fingerprints.GetHTTPBasicAuthHeaderFingerprint +import app.revanced.patches.reddit.customclients.infinityforreddit.api.fingerprints.GetHttpBasicAuthHeaderFingerprint import app.revanced.patches.reddit.customclients.infinityforreddit.api.fingerprints.LoginActivityOnCreateFingerprint import org.jf.dexlib2.iface.instruction.OneRegisterInstruction @@ -23,7 +23,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction class ChangeOAuthClientIdPatch : AbstractChangeOAuthClientIdPatch( "infinity://localhost", Options, - listOf(GetHTTPBasicAuthHeaderFingerprint, LoginActivityOnCreateFingerprint) + listOf(GetHttpBasicAuthHeaderFingerprint, LoginActivityOnCreateFingerprint) ) { override fun List.patch(context: BytecodeContext): PatchResult { forEach {