diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift index cdc6d44..ef51e19 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift @@ -130,9 +130,7 @@ class TunnelEditViewController: NSViewController { selectedActivateOnDemandOption = .none } - onDemandRow.valueOptions = activateOnDemandOptions.map { - return TunnelViewModel.activateOnDemandOptionText(for: $0) - } + onDemandRow.valueOptions = activateOnDemandOptions.map { TunnelViewModel.activateOnDemandOptionText(for: $0) } onDemandRow.selectedOptionIndex = activateOnDemandOptions.firstIndex(of: selectedActivateOnDemandOption)! } |