summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/OutOfTimeViewController.swift5
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)
}