aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardApp/Tunnel/ActivateOnDemandOption.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* App: bump copyrightJason A. Donenfeld2023-02-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: When saving on-demand rules, deactivate if reqd and then saveRoopesh Chander2021-09-281-3/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When saving on-demand rules on a config, enable on-demand if activeRoopesh Chander2021-09-241-1/+3
| | | | | | | | 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>
* UI: When saving on-demand rules, don't set isOnDemandEnabledRoopesh Chander2021-08-021-1/+1
| | | | | | | | | 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>
* UI: Keep on-demand rules even if on-demand is disabledRoopesh Chander2021-07-281-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: bump copyright yearJason A. Donenfeld2021-06-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump year in headerJason A. Donenfeld2020-12-041-1/+1
| | | | | | A bit overdue, but better late than never. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Move all source files to `Sources/` and rename WireGuardKit targetsAndrej Mihajlov2020-12-031-0/+133
Signed-off-by: Andrej Mihajlov <and@mullvad.net>