Merge branch 'bugfix/CXTDT-574791-2' into 'release/20_0_0'
Bugfix/cxtdt 574791 2 ### Summary Fix navigation crash on controller replace. ### JIRA Ticket https://onejira.verizon.com/browse/CXTDT-574791 Co-authored-by: Hedden, Kyle Matthew <kyle.hedden@verizonwireless.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core/-/merge_requests/338
This commit is contained in:
commit
460aa06678
@ -68,9 +68,9 @@ open class NavigationOperation: MVMCoreOperation, UINavigationControllerDelegate
|
||||
let index = navigationController.getIndexOfViewController(with: pageType) else {
|
||||
return false
|
||||
}
|
||||
var viewControllers = navigationController.viewControllers[...index]
|
||||
var viewControllers = Array(navigationController.viewControllers[...index])
|
||||
viewControllers[index] = viewController
|
||||
set(viewControllers: Array(viewControllers), navigationController: navigationController, animated: animated)
|
||||
set(viewControllers: viewControllers, navigationController: navigationController, animated: animated)
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user