feat: implement reconnection in AWG by turning the VPN off and on (#2046)

This commit is contained in:
albexk
2025-12-11 13:51:19 +03:00
committed by GitHub
parent 3e6f0c0342
commit 5103bc640e
5 changed files with 29 additions and 13 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class Xray : Protocol() {
state.value = DISCONNECTED
}
override fun reconnectVpn(vpnBuilder: Builder) {
override fun reconnectVpn(vpnBuilder: Builder, protect: (Int) -> Boolean) {
state.value = CONNECTED
}