move setup panels to split
This commit is contained in:
parent
beab18ad09
commit
5c9d628a17
@ -351,7 +351,6 @@ import UIKit
|
|||||||
open func pageShown() {
|
open func pageShown() {
|
||||||
// Update split view properties if this is the current detail controller.
|
// Update split view properties if this is the current detail controller.
|
||||||
if self == MVMCoreUISplitViewController.main()?.getCurrentDetailViewController() {
|
if self == MVMCoreUISplitViewController.main()?.getCurrentDetailViewController() {
|
||||||
MVMCoreUISplitViewController.main()?.setupPanels()
|
|
||||||
MVMCoreUISplitViewController.main()?.setBottomProgressBarProgress(bottomProgress() ?? 0)
|
MVMCoreUISplitViewController.main()?.setBottomProgressBarProgress(bottomProgress() ?? 0)
|
||||||
updateTabBar()
|
updateTabBar()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -135,6 +135,7 @@ extension MVMCoreUISplitViewController: MVMCoreViewManagerProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func displayedViewController(_ viewController: UIViewController) {
|
public func displayedViewController(_ viewController: UIViewController) {
|
||||||
|
setupPanels()
|
||||||
updateNavigationBarFor(viewController: viewController)
|
updateNavigationBarFor(viewController: viewController)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user