diff options
| author | Andrew Bulhak <andrew.bulhak@mullvad.net> | 2024-11-11 15:28:49 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-11-28 09:54:26 +0100 |
| commit | 6f4efb9eb02190c6b8d0e63776db53b013399337 (patch) | |
| tree | ba7b03206ce3667ad0ac240a9f484929a391a874 | |
| parent | a4a0a50edca0803d3a155562cce66b7066e5c237 (diff) | |
| download | mullvadvpn-6f4efb9eb02190c6b8d0e63776db53b013399337.tar.xz mullvadvpn-6f4efb9eb02190c6b8d0e63776db53b013399337.zip | |
Replace udpTcp with udpOverTcp
3 files changed, 11 insertions, 11 deletions
diff --git a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsCellFactory.swift b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsCellFactory.swift index eee4103311..fe32ddd70f 100644 --- a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsCellFactory.swift +++ b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsCellFactory.swift @@ -66,7 +66,7 @@ final class VPNSettingsCellFactory: CellFactoryProtocol { cell.disclosureType = .chevron cell.accessibilityIdentifier = item.accessibilityIdentifier - case .udpTcpObfuscationSettings: + case .udpOverTcpObfuscationSettings: guard let cell = cell as? SettingsCell else { return } cell.titleLabel.text = NSLocalizedString( diff --git a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift index d5f83c0ac0..852ef3f8d4 100644 --- a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift +++ b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift @@ -22,7 +22,7 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource< case wireGuardCustomPort case wireGuardObfuscation case wireGuardObfuscationOption - case udpTcpObfuscationSettings + case udpOverTcpObfuscationSettings case wireGuardObfuscationPort case quantumResistance case multihop @@ -41,7 +41,7 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource< return SelectableSettingsDetailsCell.self case .wireGuardObfuscation: return SelectableSettingsCell.self - case .udpTcpObfuscationSettings: + case .udpOverTcpObfuscationSettings: return SettingsCell.self case .wireGuardObfuscationPort: return SelectableSettingsCell.self @@ -77,7 +77,7 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource< case ipOverrides case wireGuardPort(_ port: UInt16?) case wireGuardCustomPort - case udpTcpObfuscationSettings + case udpOverTcpObfuscationSettings case wireGuardObfuscationAutomatic case wireGuardObfuscationUdpOverTcp case wireGuardObfuscationShadowsocks @@ -131,8 +131,8 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource< return .wireGuardPort case .wireGuardCustomPort: return .wireGuardCustomPort - case .udpTcpObfuscationSettings: - return .udpTcpObfuscationSettings + case .udpOverTcpObfuscationSettings: + return .udpOverTcpObfuscationSettings case .wireGuardObfuscationAutomatic: return .wireGuardObfuscationAutomatic case .wireGuardObfuscationUdpOverTcp: @@ -164,8 +164,8 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource< return .wireGuardPort case .wireGuardCustomPort: return .wireGuardCustomPort - case .udpTcpObfuscationSettings: - return .udpTcpObfuscationSettings + case .udpOverTcpObfuscationSettings: + return .udpOverTcpObfuscationSettings case .wireGuardObfuscationAutomatic, .wireGuardObfuscationOff: return .wireGuardObfuscation case .wireGuardObfuscationUdpOverTcp, .wireGuardObfuscationShadowsocks: @@ -319,9 +319,9 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource< case .wireGuardCustomPort: getCustomPortCell()?.textField.becomeFirstResponder() - case .udpTcpObfuscationSettings: + case .udpOverTcpObfuscationSettings: tableView.deselectRow(at: indexPath, animated: false) - delegate?.showUDPTCPObfuscationSettings() + delegate?.showUDPOverTCPObfuscationSettings() case .wireGuardObfuscationAutomatic: selectObfuscationState(.automatic) diff --git a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSourceDelegate.swift b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSourceDelegate.swift index f86dbbeebb..3256e37fbd 100644 --- a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSourceDelegate.swift +++ b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSourceDelegate.swift @@ -20,7 +20,7 @@ protocol VPNSettingsDataSourceDelegate: AnyObject { func showDetails(for: VPNSettingsDetailsButtonItem) func showDNSSettings() func showIPOverrides() - func showUDPTCPObfuscationSettings() + func showUDPOverTCPObfuscationSettings() func didSelectWireGuardPort(_ port: UInt16?) func humanReadablePortRepresentation() -> String } |
