diff options
| -rw-r--r-- | ios/MullvadVPN/AlertPresenter.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/AutomaticKeyRotationManager.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/TunnelManager.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/WireguardPrivateKey.swift | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ios/MullvadVPN/AlertPresenter.swift b/ios/MullvadVPN/AlertPresenter.swift index 91a43c4631..9718842c3c 100644 --- a/ios/MullvadVPN/AlertPresenter.swift +++ b/ios/MullvadVPN/AlertPresenter.swift @@ -81,7 +81,7 @@ private struct AlertPresenterUIKitHooks { let swizzledBlockIMP: BlockImpType = { (receiver, animated) in let superIMP = originalIMP.map { unsafeBitCast($0, to: MethodType.self) } superIMP?(receiver, originalSelector, animated) - + Self.handleViewDidDisappear(receiver, animated) } diff --git a/ios/MullvadVPN/AutomaticKeyRotationManager.swift b/ios/MullvadVPN/AutomaticKeyRotationManager.swift index b605b7e3da..f057914200 100644 --- a/ios/MullvadVPN/AutomaticKeyRotationManager.swift +++ b/ios/MullvadVPN/AutomaticKeyRotationManager.swift @@ -245,7 +245,7 @@ class AutomaticKeyRotationManager { self.performKeyRotation() } } - + timerSource.schedule(wallDeadline: wallDeadline) timerSource.activate() diff --git a/ios/MullvadVPN/TunnelManager.swift b/ios/MullvadVPN/TunnelManager.swift index 3a55d4cf4c..542fc71e2e 100644 --- a/ios/MullvadVPN/TunnelManager.swift +++ b/ios/MullvadVPN/TunnelManager.swift @@ -658,7 +658,7 @@ class TunnelManager { let result = Self.updateTunnelSettings(accountToken: accountToken) { (tunnelSettings) in tunnelSettings.relayConstraints = constraints } - + guard case .success = result else { finish(result.map { _ in () }) return diff --git a/ios/MullvadVPN/WireguardPrivateKey.swift b/ios/MullvadVPN/WireguardPrivateKey.swift index 38808fe873..41bc98f5a9 100644 --- a/ios/MullvadVPN/WireguardPrivateKey.swift +++ b/ios/MullvadVPN/WireguardPrivateKey.swift @@ -85,7 +85,7 @@ extension WireguardPrivateKey: Codable { let container = try decoder.container(keyedBy: CodingKeys.self) let privateKeyBytes = try container.decode(Data.self, forKey: .privateKeyData) let creationDate = try container.decode(Date.self, forKey: .creationDate) - + if let instance = WireguardPrivateKey(rawRepresentation: privateKeyBytes, createdAt: creationDate) { self = instance } else { |
