fix: infinity for reddit
This commit is contained in:
parent
b07e0a4e33
commit
61a223db59
2 changed files with 3 additions and 3 deletions
|
|
@ -1,12 +1,13 @@
|
|||
package app.revanced.patches.reddit.customclients.infinityforreddit.subscription
|
||||
|
||||
import app.revanced.patcher.gettingFirstMethod
|
||||
import app.revanced.patcher.gettingFirstMethodDeclaratively
|
||||
import app.revanced.patcher.invoke
|
||||
import app.revanced.patcher.instructions
|
||||
import app.revanced.patcher.patch.BytecodePatchContext
|
||||
|
||||
internal val BytecodePatchContext.billingClientOnServiceConnectedMethod by gettingFirstMethod("Billing service connected")
|
||||
internal val BytecodePatchContext.billingClientOnServiceConnectedMethod by gettingFirstMethodDeclaratively {
|
||||
instructions("Billing service connected"(String::contains))
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.startSubscriptionActivityMethod by gettingFirstMethodDeclaratively {
|
||||
instructions(0x10008000L())
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ package app.revanced.patches.reddit.customclients.sync.syncforreddit.api
|
|||
|
||||
import app.revanced.patcher.ClassDefComposing
|
||||
import app.revanced.patcher.composingFirstMethod
|
||||
import app.revanced.patcher.gettingFirstMethod
|
||||
import app.revanced.patcher.gettingFirstMethodDeclaratively
|
||||
import app.revanced.patcher.instructions
|
||||
import app.revanced.patcher.invoke
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue