Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Bulhak authored and buggmagnet committed Feb 6, 2024
1 parent f786eae commit 0bdb40b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ios/MullvadVPN/Coordinators/AccountCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ final class AccountCoordinator: Coordinator, Presentable, Presenting {
)

let alertPresenter = AlertPresenter(context: self)

Task {
await interactor.logout()
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1)) { [weak self] in
Expand Down
3 changes: 1 addition & 2 deletions ios/MullvadVPN/TunnelManager/TunnelManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ final class TunnelManager: StorePaymentObserver {

operationQueue.addOperation(operation)
}


func setNewAccount() async throws -> StoredAccountData {
try await setAccount(action: .new)!
Expand Down Expand Up @@ -367,7 +366,7 @@ final class TunnelManager: StorePaymentObserver {

operationQueue.addOperation(operation)
}

private func setAccount(action: SetAccountAction) async throws -> StoredAccountData? {
try await withCheckedThrowingContinuation { continuation in
setAccount(action: action) { result in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class AccountInteractor {
var deviceState: DeviceState {
tunnelManager.deviceState
}

func logout() async {
await tunnelManager.unsetAccount()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ class LoginViewController: UIViewController, RootContainment {
} catch {
self.endLogin(action: action, error: error)
}

}
}

Expand Down

0 comments on commit 0bdb40b

Please sign in to comment.