diff --git a/Tusker/Screens/Utilities/MultiColumnNavigationController.swift b/Tusker/Screens/Utilities/MultiColumnNavigationController.swift index e1537c8d..48bf7e08 100644 --- a/Tusker/Screens/Utilities/MultiColumnNavigationController.swift +++ b/Tusker/Screens/Utilities/MultiColumnNavigationController.swift @@ -142,8 +142,8 @@ class MultiColumnNavigationController: UIViewController { } fileprivate func closeColumn(_ vc: UIViewController) { - let index = viewControllers.firstIndex(of: vc)! - guard index > 0 else { + guard let index = viewControllers.firstIndex(of: vc), + index > 0 else { // Can't close the last column return }