diff options
| author | Sajad Vishkai <sajaclvishkai@gmail.com> | 2022-09-26 11:49:07 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-09-26 16:31:20 +0200 |
| commit | b1e2093e32cabac4306f695cb21b5ee74fc7e509 (patch) | |
| tree | c88d914e7ced8885d338f021e4914ffd603162f4 | |
| parent | b75548d9ceea0bca043b98649b9a086633f3e875 (diff) | |
| download | mullvadvpn-b1e2093e32cabac4306f695cb21b5ee74fc7e509.tar.xz mullvadvpn-b1e2093e32cabac4306f695cb21b5ee74fc7e509.zip | |
Update OutOfTimeViewController.swift
| -rw-r--r-- | ios/MullvadVPN/OutOfTimeViewController.swift | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ios/MullvadVPN/OutOfTimeViewController.swift b/ios/MullvadVPN/OutOfTimeViewController.swift index b37a1b0eb5..34dc8a2cb7 100644 --- a/ios/MullvadVPN/OutOfTimeViewController.swift +++ b/ios/MullvadVPN/OutOfTimeViewController.swift @@ -185,9 +185,8 @@ private extension OutOfTimeViewController { } view.isUserInteractionEnabled = isInteractionEnabled - if #available(iOS 13.0, *) { - isModalInPresentation = !isInteractionEnabled - } + isModalInPresentation = !isInteractionEnabled + navigationItem.setHidesBackButton(!isInteractionEnabled, animated: animated) } |
