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
|
package app.revanced.patches.protonvpn.delay
|
||||||
|
|
||||||
|
import app.revanced.patcher.definingClass
|
||||||
import app.revanced.patcher.gettingFirstMethodDeclaratively
|
import app.revanced.patcher.gettingFirstMethodDeclaratively
|
||||||
import app.revanced.patcher.name
|
import app.revanced.patcher.name
|
||||||
import app.revanced.patcher.patch.BytecodePatchContext
|
import app.revanced.patcher.patch.BytecodePatchContext
|
||||||
|
|
||||||
internal val BytecodePatchContext.longDelayMethod by gettingFirstMethodDeclaratively {
|
internal val BytecodePatchContext.longDelayMethod by gettingFirstMethodDeclaratively {
|
||||||
|
definingClass("AppConfigResponse;")
|
||||||
name("getChangeServerLongDelayInSeconds")
|
name("getChangeServerLongDelayInSeconds")
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.shortDelayMethod by gettingFirstMethodDeclaratively {
|
internal val BytecodePatchContext.shortDelayMethod by gettingFirstMethodDeclaratively {
|
||||||
|
definingClass("AppConfigResponse;")
|
||||||
name("getChangeServerShortDelayInSeconds")
|
name("getChangeServerShortDelayInSeconds")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user