fix(ProtonVPN - Remove delay): Make it work on latest version by patching the correct class (#6757)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user