From 4d1b0b442768be4f7a12de63d8b973b2ca113f23 Mon Sep 17 00:00:00 2001 From: Aunali321 <48486084+Aunali321@users.noreply.github.com> Date: Sat, 1 Jul 2023 18:16:17 +0530 Subject: [PATCH] feat(baconreader/change-oauth-client-id): add compatibility for premium package (#2550) --- .../baconreader/api/patch/ChangeOAuthClientIdPatch.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/baconreader/api/patch/ChangeOAuthClientIdPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/baconreader/api/patch/ChangeOAuthClientIdPatch.kt index 8d52d2743..cad02a6ab 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/baconreader/api/patch/ChangeOAuthClientIdPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/baconreader/api/patch/ChangeOAuthClientIdPatch.kt @@ -20,7 +20,12 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction @Description("Changes the OAuth client ID. " + "The OAuth application type has to be \"Installed app\" " + "and the redirect URI has to be set to \"http://baconreader.com/auth\".") -@Compatibility([Package("com.onelouder.baconreader")]) +@Compatibility( + [ + Package("com.onelouder.baconreader"), + Package("com.onelouder.baconreader.premium") + ] +) class ChangeOAuthClientIdPatch : AbstractChangeOAuthClientIdPatch( "http://baconreader.com/auth", Options, listOf(GetAuthorizationUrlFingerprint, RequestTokenFingerprint) ) {