import changes proxy just in case

This commit is contained in:
Avently
2024-09-17 21:48:18 +07:00
parent d3bb9f9db0
commit 265d74a3c7
@@ -6294,6 +6294,9 @@ data class AppSettings(
if (net.hostMode == HostMode.Onion) {
net = net.copy(hostMode = HostMode.Public, requiredHostMode = true)
}
if (net.socksProxy != null) {
net = net.copy(socksProxy = networkProxy?.toProxyString())
}
setNetCfg(net)
}
networkProxy?.let { def.networkProxy.set(it) }