fix(ProtonVPN - Remove delay): Make it work on latest version by patching the correct class (#6757)

This commit is contained in:
Sayanth
2026-03-09 19:10:05 +01:00
committed by GitHub
parent d2659637ac
commit e0dc009780
@@ -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")
}