summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2023-06-09 13:26:23 +0200
committerEmīls <emils@mullvad.net>2023-06-09 13:26:23 +0200
commite36d078360f1e0053cebd00246b08f1f58f08276 (patch)
treed684a52cf1a7f1a2601df54fd1b2d526a8e96769
parent7f71dfdb050019ecfdd9272bb71b53bb0dac362c (diff)
parent2efc52baba8698511cd8e4292251e120f2c4d49b (diff)
downloadmullvadvpn-e36d078360f1e0053cebd00246b08f1f58f08276.tar.xz
mullvadvpn-e36d078360f1e0053cebd00246b08f1f58f08276.zip
Merge branch 'cannot-log-out-from-the-account-view-ios-192'
-rw-r--r--ios/MullvadVPN/View controllers/Account/AccountViewController.swift8
1 files changed, 2 insertions, 6 deletions
diff --git a/ios/MullvadVPN/View controllers/Account/AccountViewController.swift b/ios/MullvadVPN/View controllers/Account/AccountViewController.swift
index 2e1e73ea82..a733483099 100644
--- a/ios/MullvadVPN/View controllers/Account/AccountViewController.swift
+++ b/ios/MullvadVPN/View controllers/Account/AccountViewController.swift
@@ -100,7 +100,7 @@ class AccountViewController: UIViewController {
action: #selector(doPurchase),
for: .touchUpInside
)
- contentView.logoutButton.addTarget(self, action: #selector(logOut), for: .touchUpInside)
+ contentView.logoutButton.addTarget(self, action: #selector(logout), for: .touchUpInside)
interactor.didReceiveDeviceState = { [weak self] deviceState in
self?.updateView(from: deviceState)
@@ -122,10 +122,6 @@ class AccountViewController: UIViewController {
// MARK: - Private
- @objc private func logOut() {
- delegate?.accountViewControllerDidLogout(self)
- }
-
@objc private func handleDismiss() {
delegate?.accountViewControllerDidFinish(self)
}
@@ -282,7 +278,7 @@ class AccountViewController: UIViewController {
// MARK: - Actions
- @objc private func doLogout() {
+ @objc private func logout() {
let alertController = CustomAlertViewController(
icon: .spinner
)