wireguard-apple/Sources/WireGuardApp/Tunnel
Roopesh Chander ba644415c7 UI: When saving on-demand rules on a config, enable on-demand if active
When a user saves on-demand rules on the configuration, set
onDemandEnabled to true if the tunnel is active, and false if it isn't.
Then deactivate the tunnel.

Signed-off-by: Roopesh Chander <roop@roopc.net>
2021-09-24 01:01:10 +05:30
..
ActivateOnDemandOption.swift UI: When saving on-demand rules on a config, enable on-demand if active 2021-09-24 01:01:10 +05:30
MockTunnels.swift Global: bump copyright year 2021-06-17 16:56:46 +02:00
TunnelConfiguration+UapiConfig.swift Global: bump copyright year 2021-06-17 16:56:46 +02:00
TunnelErrors.swift UI: Remove addendum on on-demand from error on tunnel activation 2021-07-28 11:52:54 +05:30
TunnelStatus.swift Global: bump copyright year 2021-06-17 16:56:46 +02:00
TunnelsManager.swift UI: When saving on-demand rules on a config, enable on-demand if active 2021-09-24 01:01:10 +05:30