Compare commits

..

8 Commits

2 changed files with 3 additions and 8 deletions

View File

@@ -37,11 +37,11 @@ struct VPNConfigurationView: View {
editable: false editable: false
) )
} header: { } header: {
Text("Override Configuration") Text("User Configuration")
} footer: { } footer: {
HStack(alignment: .top, spacing: 0) { HStack(alignment: .top, spacing: 0) {
Text("Note: ") Text("Note: ")
Text("if override configuration is invalid or unusable SideStore may use auto-discovered config as fallback.") Text("'Device IP' is mandatory and should match exactly as in the VPN's configuration")
} }
} }
} }
@@ -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
}
} }