From ee975dea846c77af0efe608e647075f4055af320 Mon Sep 17 00:00:00 2001 From: nullptr <107796137+johnconner122@users.noreply.github.com> Date: Fri, 8 Sep 2023 01:01:15 +0500 Subject: [PATCH] fix(Infinity for Reddit - Spoof client): Constrain patch to last working versions (#2944) --- .../infinityforreddit/api/patch/SpoofClientPatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/SpoofClientPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/SpoofClientPatch.kt index 646afb11e..6f9f17440 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/SpoofClientPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/api/patch/SpoofClientPatch.kt @@ -17,7 +17,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction @Description("Spoofs the client in order to allow logging in. " + "The OAuth application type has to be \"Installed app\" " + "and the redirect URI has to be set to \"infinity://localhost\".") -@Compatibility([Package("ml.docilealligator.infinityforreddit")]) +@Compatibility([Package("ml.docilealligator.infinityforreddit", arrayOf("5.4.0", "5.4.1", "5.4.2", "6.0.1", "6.0.2", "6.0.4", "6.0.6", "6.1.1"))]) class SpoofClientPatch : AbstractSpoofClientPatch( "infinity://localhost", Options, @@ -39,4 +39,4 @@ class SpoofClientPatch : AbstractSpoofClientPatch( } companion object Options : AbstractSpoofClientPatch.Options.SpoofClientOptionsContainer() -} \ No newline at end of file +}