testing flag

This commit is contained in:
Naresh 2024-06-21 18:22:25 +05:30
parent 4bf30550ef
commit 39fd541f56

View File

@ -119,7 +119,9 @@ open class NavigationOperation: MVMCoreOperation, UINavigationControllerDelegate
toNavigationControllerViewControllers = viewControllers toNavigationControllerViewControllers = viewControllers
NavigationHandler.shared().onNavigation.send((.willNavigate, self)) NavigationHandler.shared().onNavigation.send((.willNavigate, self))
guard !checkAndHandleForCancellation() else { return } guard !checkAndHandleForCancellation() else { return }
navigationController.setViewControllers(viewControllers, animated: animated) if viewControllers.count > 0 {
navigationController.setViewControllers(viewControllers, animated: animated)
}
} }
/** Has the navigation controller pop. /** Has the navigation controller pop.