aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-19 16:23:14 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-19 18:35:53 +0530
commitf93c9797ea0dd814ec4ac81aed0802d6bd3273aa (patch)
treeebad7e836386fa4ecda6e98f1e1fddd7400e6e9e /WireGuard/WireGuard/UI/iOS
parentTunnelsManager: If only Activate On Demand has changed, don't restart tunnel (diff)
downloadwireguard-apple-f93c9797ea0dd814ec4ac81aed0802d6bd3273aa.tar.xz
wireguard-apple-f93c9797ea0dd814ec4ac81aed0802d6bd3273aa.zip
Tunnel edit: Fix comment
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS')
-rw-r--r--WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift b/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
index 3089734..fc9595f 100644
--- a/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
+++ b/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
@@ -13,7 +13,7 @@ class TunnelEditKeyValueCell: KeyValueCell {
let widthRatioConstraint = NSLayoutConstraint(item: keyLabel, attribute: .width, relatedBy: .equal, toItem: self, attribute: .width, multiplier: 0.4, constant: 0)
// In case the key doesn't fit into 0.4 * width,
- // so set a CR priority > the 0.4-constraint's priority.
+ // set a CR priority > the 0.4-constraint's priority.
widthRatioConstraint.priority = .defaultHigh + 1
widthRatioConstraint.isActive = true
}