summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2025-04-28 16:04:20 +0200
committerBug Magnet <marco.nikic@mullvad.net>2025-04-29 11:25:56 +0200
commitbffa1f2d6c4e8679debd3f5737fd7322f579088c (patch)
tree3a5560bdc3f2e8dd7ecfd5ddc8b6091b100828a8
parent7968c61e15c3748ce56d88d091120e5ffb97e4c4 (diff)
downloadmullvadvpn-bffa1f2d6c4e8679debd3f5737fd7322f579088c.tar.xz
mullvadvpn-bffa1f2d6c4e8679debd3f5737fd7322f579088c.zip
Add another forgotten conditional compilation check
-rw-r--r--ios/MullvadVPN/View controllers/SelectLocation/LocationViewControllerWrapper.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/View controllers/SelectLocation/LocationViewControllerWrapper.swift b/ios/MullvadVPN/View controllers/SelectLocation/LocationViewControllerWrapper.swift
index fb77076abd..d36f3de288 100644
--- a/ios/MullvadVPN/View controllers/SelectLocation/LocationViewControllerWrapper.swift
+++ b/ios/MullvadVPN/View controllers/SelectLocation/LocationViewControllerWrapper.swift
@@ -320,12 +320,12 @@ extension LocationViewControllerWrapper: @preconcurrency LocationViewControllerD
}
private extension WireGuardObfuscationState {
+ /// This flag affects whether the "Setting: Obfuscation" pill is shown when selecting a location
var affectsRelaySelection: Bool {
switch self {
case .shadowsocks:
true
- case .on, .off, .automatic, .udpOverTcp, .quic:
- false
+ default: false
}
}
}