diff options
| -rw-r--r-- | ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProvider.swift | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProvider.swift b/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProvider.swift index 79b5f03b0e..637e0ad5f3 100644 --- a/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProvider.swift +++ b/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProvider.swift @@ -417,8 +417,9 @@ final class SimulatorTunnelProviderManager: NSObject, VPNTunnelProviderManagerPr completionHandler?(error) } - static func == (lhs: SimulatorTunnelProviderManager, rhs: SimulatorTunnelProviderManager) -> Bool { - lhs.identifier == rhs.identifier + override func isEqual(_ object: Any?) -> Bool { + guard let other = object as? Self else { return false } + return self.identifier == other.identifier } } |
