summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipFeature.swift3
-rw-r--r--ios/MullvadVPN/View controllers/Tunnel/ConnectionView/FeatureIndicatorsViewModel.swift2
2 files changed, 2 insertions, 3 deletions
diff --git a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipFeature.swift b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipFeature.swift
index 64d5d0b77f..e986476def 100644
--- a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipFeature.swift
+++ b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipFeature.swift
@@ -53,10 +53,9 @@ struct QuantumResistanceFeature: ChipFeature {
}
struct MultihopFeature: ChipFeature {
- let settings: LatestTunnelSettings
let state: TunnelState
var isEnabled: Bool {
- settings.tunnelMultihopState.isEnabled || state.isMultihop
+ state.isMultihop
}
var name: String {
diff --git a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/FeatureIndicatorsViewModel.swift b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/FeatureIndicatorsViewModel.swift
index efd49fb9a7..2a4e521919 100644
--- a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/FeatureIndicatorsViewModel.swift
+++ b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/FeatureIndicatorsViewModel.swift
@@ -36,7 +36,7 @@ class FeatureIndicatorsViewModel: ChipViewModelProtocol {
let features: [ChipFeature] = [
DaitaFeature(state: tunnelState),
QuantumResistanceFeature(state: tunnelState),
- MultihopFeature(settings: tunnelSettings, state: tunnelState),
+ MultihopFeature(state: tunnelState),
ObfuscationFeature(settings: tunnelSettings, state: observedState),
DNSFeature(settings: tunnelSettings),
IPOverrideFeature(overrides: ipOverrides),