Fixes subnav titles for legacy controllers.

This commit is contained in:
Scott Pfeil 2022-03-23 11:29:44 -04:00
parent 4968301933
commit bf70c6b15b

View File

@ -208,7 +208,7 @@ open class SubNavManagerController: ViewController, MVMCoreViewManagerProtocol,
} }
/// Handles when the controller has committed to be changed. /// Handles when the controller has committed to be changed.
private func commitTo(controller: UIViewController) { open func commitTo(controller: UIViewController) {
guard let index = index, guard let index = index,
index != tabs.selectedIndex else { return } index != tabs.selectedIndex else { return }
viewController = controller viewController = controller