summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:46:57 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:20 +0200
commit30b0895cdce2e78365f18b6f1f2e301491fe23cc (patch)
tree4a2eece6da9af27a86630ce1ba4ca076b1927c74 /ios
parent0e990fcbd3f65b8ba0412c092765285213d6543c (diff)
downloadmullvadvpn-30b0895cdce2e78365f18b6f1f2e301491fe23cc.tar.xz
mullvadvpn-30b0895cdce2e78365f18b6f1f2e301491fe23cc.zip
Update AccountViewController.swift
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/AccountViewController.swift5
1 files changed, 2 insertions, 3 deletions
diff --git a/ios/MullvadVPN/AccountViewController.swift b/ios/MullvadVPN/AccountViewController.swift
index 5719328c27..88b8654fc8 100644
--- a/ios/MullvadVPN/AccountViewController.swift
+++ b/ios/MullvadVPN/AccountViewController.swift
@@ -151,9 +151,8 @@ class AccountViewController: UIViewController, AppStorePaymentObserver, TunnelOb
contentView.logoutButton.isEnabled = isInteractionEnabled
view.isUserInteractionEnabled = isInteractionEnabled
- if #available(iOS 13.0, *) {
- isModalInPresentation = !isInteractionEnabled
- }
+ isModalInPresentation = !isInteractionEnabled
+
navigationItem.setHidesBackButton(!isInteractionEnabled, animated: animated)
}