diff options
| -rw-r--r-- | ios/MullvadVPN/AccountViewController.swift | 5 |
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) } |
