diff options
author | Roopesh Chander <roop@roopc.net> | 2021-09-24 00:41:46 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2021-09-24 01:01:10 +0530 |
commit | ba644415c7ff925e34bbabd2448e41c49924b2fa (patch) | |
tree | 9392f9456b8cbed85aca96c96bbfd441ad065d28 /Sources/WireGuardApp/UI/iOS/ViewController | |
parent | App: version bump (diff) | |
download | wireguard-apple-ba644415c7ff925e34bbabd2448e41c49924b2fa.tar.xz wireguard-apple-ba644415c7ff925e34bbabd2448e41c49924b2fa.zip |
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>
Diffstat (limited to 'Sources/WireGuardApp/UI/iOS/ViewController')
0 files changed, 0 insertions, 0 deletions