summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
diff options
context:
space:
mode:
Diffstat (limited to 'ios/MullvadVPN/Containers/Root/RootContainerViewController.swift')
-rw-r--r--ios/MullvadVPN/Containers/Root/RootContainerViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift b/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
index 9f9f050797..8458521da0 100644
--- a/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
+++ b/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
@@ -753,7 +753,7 @@ class RootContainerViewController: UIViewController {
// Tell UIKit to update the interface orientation
if attemptRotateToDeviceOrientation {
- Self.attemptRotationToDeviceOrientation()
+ setNeedsUpdateOfSupportedInterfaceOrientations()
}
}
}