diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-07-21 18:52:39 +0300 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-07-22 18:35:43 +0300 |
| commit | 9c9e4f9773cd348914a7a5186d45e29828fb7d99 (patch) | |
| tree | 9940bb67c7b33c96304de365c84e26894d3ba102 | |
| parent | 4f01cf0253fe74838825e4c40208fa9ca9c3268c (diff) | |
| download | mullvadvpn-9c9e4f9773cd348914a7a5186d45e29828fb7d99.tar.xz mullvadvpn-9c9e4f9773cd348914a7a5186d45e29828fb7d99.zip | |
Trim whitespace
| -rw-r--r-- | ios/MullvadVPN/AppStorePaymentManager.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/RelayCache.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/RelaySelector.swift | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ios/MullvadVPN/AppStorePaymentManager.swift b/ios/MullvadVPN/AppStorePaymentManager.swift index 688d2779af..690c6bb1cd 100644 --- a/ios/MullvadVPN/AppStorePaymentManager.swift +++ b/ios/MullvadVPN/AppStorePaymentManager.swift @@ -263,7 +263,7 @@ class AppStorePaymentManager: NSObject, SKPaymentTransactionObserver { completionHandler(.failure(.sendReceipt(error))) } } - + self.exclusivityController.addOperation(createApplePaymentOperation, categories: [.sendReceipt]) case .failure(let error): diff --git a/ios/MullvadVPN/RelayCache.swift b/ios/MullvadVPN/RelayCache.swift index 8dced2154b..bf15933187 100644 --- a/ios/MullvadVPN/RelayCache.swift +++ b/ios/MullvadVPN/RelayCache.swift @@ -228,7 +228,7 @@ class RelayCache { case .success(let newDownloadTask): downloadTask = newDownloadTask newDownloadTask.resume() - + case .failure(let restError): restError.logChain(message: "Failed to create a REST request for updating relays", log: .default) downloadTask = nil diff --git a/ios/MullvadVPN/RelaySelector.swift b/ios/MullvadVPN/RelaySelector.swift index 324f28df55..baf0595518 100644 --- a/ios/MullvadVPN/RelaySelector.swift +++ b/ios/MullvadVPN/RelaySelector.swift @@ -92,7 +92,7 @@ struct RelaySelector { let locationComponents = serverRelay.location.split(separator: "-") guard locationComponents.count > 1 else { return nil } - + let location = Location( country: serverLocation.country, countryCode: String(locationComponents[0]), |
