From d74732b7596104321bde263201d95649e4bd0eee Mon Sep 17 00:00:00 2001 From: tillcash Date: Fri, 28 Feb 2025 14:01:02 +0530 Subject: [PATCH] feat(Infinity for Reddit): Add support for Infinity for Reddit Plus (#4511) --- .../customclients/infinityforreddit/api/SpoofClientPatch.kt | 2 +- .../infinityforreddit/subscription/UnlockSubscriptionPatch.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/SpoofClientPatch.kt b/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/SpoofClientPatch.kt index d19ddbfed..d23826d91 100644 --- a/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/SpoofClientPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/SpoofClientPatch.kt @@ -8,7 +8,7 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethod import com.android.tools.smali.dexlib2.immutable.ImmutableMethodImplementation val spoofClientPatch = spoofClientPatch(redirectUri = "infinity://localhost") { clientIdOption -> - compatibleWith("ml.docilealligator.infinityforreddit") + compatibleWith("ml.docilealligator.infinityforreddit", "ml.docilealligator.infinityforreddit.plus") val clientId by clientIdOption diff --git a/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/subscription/UnlockSubscriptionPatch.kt b/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/subscription/UnlockSubscriptionPatch.kt index ab9b07c1b..98fbd89f8 100644 --- a/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/subscription/UnlockSubscriptionPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/subscription/UnlockSubscriptionPatch.kt @@ -11,7 +11,7 @@ val unlockSubscriptionPatch = bytecodePatch( ) { dependsOn(spoofClientPatch) - compatibleWith("ml.docilealligator.infinityforreddit") + compatibleWith("ml.docilealligator.infinityforreddit", "ml.docilealligator.infinityforreddit.plus") execute { setOf(