From 93fcbf1168e78343e5fbca6b57b52c6838060992 Mon Sep 17 00:00:00 2001 From: Bug Magnet Date: Tue, 19 Nov 2024 10:30:51 +0100 Subject: [PATCH] Fix typo --- ios/MullvadVPN/TransportMonitor/TransportMonitor.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/MullvadVPN/TransportMonitor/TransportMonitor.swift b/ios/MullvadVPN/TransportMonitor/TransportMonitor.swift index e4aee9cbe007..57d1340fa486 100644 --- a/ios/MullvadVPN/TransportMonitor/TransportMonitor.swift +++ b/ios/MullvadVPN/TransportMonitor/TransportMonitor.swift @@ -37,14 +37,14 @@ final class TransportMonitor: RESTTransportProvider { tunnel.status == .connecting || tunnel.status == .reasserting || tunnel.status == .connected } - if let tunnel, shouldByPassVPN(tunnel: tunnel) { + if let tunnel, shouldBypassVPN(tunnel: tunnel) { return PacketTunnelTransport(tunnel: tunnel) } else { return transportProvider.makeTransport() } } - private func shouldByPassVPN(tunnel: any TunnelProtocol) -> Bool { + private func shouldBypassVPN(tunnel: any TunnelProtocol) -> Bool { switch tunnel.status { case .connected: if case .error = tunnelManager.tunnelStatus.state {