summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-07-09 10:00:15 +0200
committerAndrej Mihajlov <and@mullvad.net>2020-07-15 14:33:00 +0200
commite5fe5e4bcac9904fcaa21892cdb5d243295a4295 (patch)
treed15f062e23e44f10ca54542709e6204802cb14d6
parent28ce232169e5c236f2590b5e7d44635ed49da235 (diff)
downloadmullvadvpn-e5fe5e4bcac9904fcaa21892cdb5d243295a4295.tar.xz
mullvadvpn-e5fe5e4bcac9904fcaa21892cdb5d243295a4295.zip
Trim leftover whitespace
-rw-r--r--ios/MullvadVPN/AlertPresenter.swift2
-rw-r--r--ios/MullvadVPN/AutomaticKeyRotationManager.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager.swift2
-rw-r--r--ios/MullvadVPN/WireguardPrivateKey.swift2
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 {