diff options
| author | omahs <73983677+omahs@users.noreply.github.com> | 2025-05-11 09:49:55 +0200 |
|---|---|---|
| committer | omahs <73983677+omahs@users.noreply.github.com> | 2025-06-05 14:21:09 +0000 |
| commit | 73fcc2275c1a0bccb9e849d352e2bbd637f141e6 (patch) | |
| tree | a3719f7afc5b9004af683b540ddcce2cdf7911c2 /ios | |
| parent | 6f05ce41a5cf9edd5b8e3a734bcf2eb89b53a44a (diff) | |
| download | mullvadvpn-73fcc2275c1a0bccb9e849d352e2bbd637f141e6.tar.xz mullvadvpn-73fcc2275c1a0bccb9e849d352e2bbd637f141e6.zip | |
Fix typos
Diffstat (limited to 'ios')
7 files changed, 11 insertions, 11 deletions
diff --git a/ios/MullvadREST/Transport/Socks5/Socks5Handshake.swift b/ios/MullvadREST/Transport/Socks5/Socks5Handshake.swift index 23fadc64fd..34c10e7153 100644 --- a/ios/MullvadREST/Transport/Socks5/Socks5Handshake.swift +++ b/ios/MullvadREST/Transport/Socks5/Socks5Handshake.swift @@ -26,7 +26,7 @@ struct Socks5Handshake { // Append socks version data.append(Socks5Constants.socksVersion) - // Append number of suppported authentication methods supported. + // Append number of supported authentication methods supported. data.append(UInt8(methods.count)) // Append authentication methods diff --git a/ios/MullvadRESTTests/MullvadApiTests.swift b/ios/MullvadRESTTests/MullvadApiTests.swift index 64c0eb371b..77d323adbc 100644 --- a/ios/MullvadRESTTests/MullvadApiTests.swift +++ b/ios/MullvadRESTTests/MullvadApiTests.swift @@ -154,7 +154,7 @@ class MullvadApiTests: XCTestCase { UInt(expectedResponseCode), """ {"code": "\(expectedErrorCode)", - "error": "A magical error occured" + "error": "A magical error occurred" } """ ) diff --git a/ios/MullvadSettings/MigrationManager.swift b/ios/MullvadSettings/MigrationManager.swift index a29d623ddb..f1d4c3013b 100644 --- a/ios/MullvadSettings/MigrationManager.swift +++ b/ios/MullvadSettings/MigrationManager.swift @@ -35,7 +35,7 @@ public struct MigrationManager { /// and writes back to `store` when settings are updated. /// /// In order to avoid migration happening from both the VPN and the host processes at the same time, - /// a non existant file path is used as a lock to synchronize access between the processes. + /// a non existent file path is used as a lock to synchronize access between the processes. /// This file is accessed by `NSFileCoordinator` in order to prevent multiple processes accessing at the same time. /// - Parameters: /// - store: The store to from which settings are read and written to. diff --git a/ios/MullvadVPN/StorePaymentManager/StorePaymentManager.swift b/ios/MullvadVPN/StorePaymentManager/StorePaymentManager.swift index 5c4dfd8836..c7fff5b197 100644 --- a/ios/MullvadVPN/StorePaymentManager/StorePaymentManager.swift +++ b/ios/MullvadVPN/StorePaymentManager/StorePaymentManager.swift @@ -133,7 +133,7 @@ final class StorePaymentManager: NSObject, SKPaymentTransactionObserver, @unchec /// Validates the user account with backend before adding the payment to the queue. /// /// - Parameters: - /// - payment: an intance of `SKPayment`. + /// - payment: an instance of `SKPayment`. /// - accountNumber: the account number to credit. func addPayment(_ payment: SKPayment, for accountNumber: String) { logger.debug("Validating account before the purchase.") diff --git a/ios/MullvadVPN/View controllers/SelectLocation/LocationCellViewModel.swift b/ios/MullvadVPN/View controllers/SelectLocation/LocationCellViewModel.swift index 9b85f41647..24fb46c950 100644 --- a/ios/MullvadVPN/View controllers/SelectLocation/LocationCellViewModel.swift +++ b/ios/MullvadVPN/View controllers/SelectLocation/LocationCellViewModel.swift @@ -68,12 +68,12 @@ extension LocationCellViewModel { We check this by doing the following, in order: 1. Count hostnames in the tree. More than one means that there are other locations than - the excluded one for the relay selector to choose from. No exlusion. + the excluded one for the relay selector to choose from. No exclusion. 2. Count hostnames in the excluded node. More than one means that there are multiple locations for the relay selector to choose from. No exclusion. - 3. Check existance of a location in the tree that matches the currently excluded location. + 3. Check existence of a location in the tree that matches the currently excluded location. No match means no exclusion. */ func shouldExcludeLocation(_ excludedLocation: LocationCellViewModel?) -> Bool { @@ -87,7 +87,7 @@ extension LocationCellViewModel { if case .hostname = location { true } else { false } }.count - // If the there's more than one selectable relay in the current node we don't need + // If there's more than one selectable relay in the current node we don't need // to show this in the location tree and can return early. guard hostCount == 1 else { return false } @@ -97,7 +97,7 @@ extension LocationCellViewModel { if case .hostname = location { true } else { false } }.count - // If the there's more than one selectable relay in the excluded node we don't need + // If there's more than one selectable relay in the excluded node we don't need // to show this in the location tree and can return early. guard excludedHostCount == 1 else { return false } diff --git a/ios/PacketTunnel/DeviceCheck/DeviceCheckOperation.swift b/ios/PacketTunnel/DeviceCheck/DeviceCheckOperation.swift index ab88b22167..6ec7dbe29b 100644 --- a/ios/PacketTunnel/DeviceCheck/DeviceCheckOperation.swift +++ b/ios/PacketTunnel/DeviceCheck/DeviceCheckOperation.swift @@ -20,7 +20,7 @@ import WireGuardKitTypes tunnel process. Packet tunnel runs this operation immediately as it starts, with `rotateImmediatelyOnKeyMismatch` flag set to - `true` which forces key rotation to happpen immediately given that the key stored on server does not match the key + `true` which forces key rotation to happen immediately given that the key stored on server does not match the key stored on device. Unless the last rotation attempt took place less than 15 seconds ago in which case the key rotation is not performed. diff --git a/ios/PacketTunnelCoreTests/Mocks/KeyExchangingResultStub.swift b/ios/PacketTunnelCoreTests/Mocks/KeyExchangingResultStub.swift index 4bc320bad7..77c15edf47 100644 --- a/ios/PacketTunnelCoreTests/Mocks/KeyExchangingResultStub.swift +++ b/ios/PacketTunnelCoreTests/Mocks/KeyExchangingResultStub.swift @@ -25,9 +25,9 @@ struct KeyExchangingResultStub: EphemeralPeerReceiving { public func receiveEphemeralPeerPrivateKey( _ ephemeralPeerPrivateKey: PrivateKey, - daitaParameters daitaParamters: MullvadTypes.DaitaV2Parameters? + daitaParameters daitaParameters: MullvadTypes.DaitaV2Parameters? ) async { - await onReceiveEphemeralPeerPrivateKey?(ephemeralPeerPrivateKey, daitaParamters) + await onReceiveEphemeralPeerPrivateKey?(ephemeralPeerPrivateKey, daitaParameters) } func ephemeralPeerExchangeFailed() { |
