summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-11-24 14:17:39 +0100
committerAndrej Mihajlov <and@mullvad.net>2021-11-26 13:55:31 +0100
commit5f82e0e8fb0851e83976f675673f327a3d0e228d (patch)
treef97e468891bdb6f58260a1bf00a5174d55750f4f
parent387599a1afcbddb858b95de36704596b8ad532c5 (diff)
downloadmullvadvpn-5f82e0e8fb0851e83976f675673f327a3d0e228d.tar.xz
mullvadvpn-5f82e0e8fb0851e83976f675673f327a3d0e228d.zip
Root: remove unused segue handling code
-rw-r--r--ios/MullvadVPN/RootContainerViewController.swift14
1 files changed, 0 insertions, 14 deletions
diff --git a/ios/MullvadVPN/RootContainerViewController.swift b/ios/MullvadVPN/RootContainerViewController.swift
index e154e47fc6..f98c3e93df 100644
--- a/ios/MullvadVPN/RootContainerViewController.swift
+++ b/ios/MullvadVPN/RootContainerViewController.swift
@@ -163,20 +163,6 @@ class RootContainerViewController: UIViewController {
return interfaceOrientationMask ?? super.supportedInterfaceOrientations
}
- // MARK: - Storyboard segue handling
-
- override func unwind(for unwindSegue: UIStoryboardSegue, towards subsequentVC: UIViewController) {
- // Make sure there is no attempt to unwind to the top view controller
- guard subsequentVC != topViewController else { return }
-
- let index = viewControllers.firstIndex(of: subsequentVC)!
- let newViewControllers = Array(viewControllers.prefix(through: index))
-
- let animated = UIView.areAnimationsEnabled
-
- setViewControllersInternal(newViewControllers, isUnwinding: true, animated: animated)
- }
-
// MARK: - Public
func setViewControllers(_ newViewControllers: [UIViewController],