]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commit
UI: When saving on-demand rules, don't set isOnDemandEnabled
authorRoopesh Chander <roop@roopc.net>
Mon, 2 Aug 2021 17:39:06 +0000 (23:09 +0530)
committerRoopesh Chander <roop@roopc.net>
Mon, 2 Aug 2021 17:55:53 +0000 (23:25 +0530)
commit55c587b44337c5ae9fe782c225cbab841361eeb6
tree329b60b22f10b21b7e516a88a9a4ad24969d02e5
parentb6831c1aca50f02be5de623e0e4dc6a3d2800d88
UI: When saving on-demand rules, don't set isOnDemandEnabled

When adding or modifying a config, when on-demand options are set by a
user, the rules are saved, but isOnDemandEnabled is left unset (and can
be set by the appropriate control in the detail view (switch in iOS /
button in macOS)).

Signed-off-by: Roopesh Chander <roop@roopc.net>
Sources/WireGuardApp/Tunnel/ActivateOnDemandOption.swift