mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
[escher] Typo in StackViewController
Change-Id: I13bdd05759fd2f0bc6911adafe8950e46c2bfe85
This commit is contained in:
committed by
Émilie Feral
parent
fe25118d04
commit
a96b5d1bc4
@@ -13,7 +13,7 @@ StackViewController::ControllerView::ControllerView() :
|
||||
{
|
||||
}
|
||||
|
||||
void StackViewController::ControllerView::shouldDisplayStackHearders(bool shouldDisplay) {
|
||||
void StackViewController::ControllerView::shouldDisplayStackHeaders(bool shouldDisplay) {
|
||||
m_displayStackHeaders = shouldDisplay;
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ void StackViewController::pushModel(Frame frame) {
|
||||
void StackViewController::setupActiveViewController() {
|
||||
ViewController * vc = topViewController();
|
||||
vc->setParentResponder(this);
|
||||
m_view.shouldDisplayStackHearders(vc->displayParameter() != ViewController::DisplayParameter::WantsMaximumSpace);
|
||||
m_view.shouldDisplayStackHeaders(vc->displayParameter() != ViewController::DisplayParameter::WantsMaximumSpace);
|
||||
m_view.setContentView(vc->view());
|
||||
vc->viewWillAppear();
|
||||
vc->setParentResponder(this);
|
||||
@@ -172,7 +172,7 @@ void StackViewController::viewWillAppear() {
|
||||
ViewController * vc = topViewController();
|
||||
if (m_numberOfChildren > 0 && vc) {
|
||||
m_view.setContentView(vc->view());
|
||||
m_view.shouldDisplayStackHearders(vc->displayParameter() != ViewController::DisplayParameter::WantsMaximumSpace);
|
||||
m_view.shouldDisplayStackHeaders(vc->displayParameter() != ViewController::DisplayParameter::WantsMaximumSpace);
|
||||
vc->viewWillAppear();
|
||||
}
|
||||
m_isVisible = true;
|
||||
|
||||
Reference in New Issue
Block a user