vpn-configuration: removed UI updating state despite bindTunnelConfig() driving it just behind

This commit is contained in:
mahee96
2026-03-03 10:57:12 +05:30
parent b643f6ae01
commit e32f4fbeae

View File

@@ -56,7 +56,6 @@ struct VPNConfigurationView: View {
} }
private func commitChanges() { private func commitChanges() {
TunnelConfig.shared.commitFakeIP()
bindTunnelConfig() bindTunnelConfig()
} }
@@ -117,8 +116,4 @@ final class TunnelConfig: ObservableObject {
} }
var overrideActive: String { overrideEffective ? "Yes" : "No" } var overrideActive: String { overrideEffective ? "Yes" : "No" }
func commitFakeIP() {
fakeIP = overrideFakeIP
}
} }