fix(ProtonVPN - Remove delay): Make it work on latest version by patching the correct class (#6757)
This commit is contained in:
parent
d2659637ac
commit
e0dc009780
1 changed files with 3 additions and 0 deletions
|
|
@ -1,13 +1,16 @@
|
|||
package app.revanced.patches.protonvpn.delay
|
||||
|
||||
import app.revanced.patcher.definingClass
|
||||
import app.revanced.patcher.gettingFirstMethodDeclaratively
|
||||
import app.revanced.patcher.name
|
||||
import app.revanced.patcher.patch.BytecodePatchContext
|
||||
|
||||
internal val BytecodePatchContext.longDelayMethod by gettingFirstMethodDeclaratively {
|
||||
definingClass("AppConfigResponse;")
|
||||
name("getChangeServerLongDelayInSeconds")
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.shortDelayMethod by gettingFirstMethodDeclaratively {
|
||||
definingClass("AppConfigResponse;")
|
||||
name("getChangeServerShortDelayInSeconds")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue