[apps] Graph: all contexts parse x now so no need for a specific one in

graph
This commit is contained in:
Émilie Feral
2017-12-13 17:52:08 +01:00
committed by Ecco
parent 1a80dcf1be
commit a0ec589e47
2 changed files with 0 additions and 14 deletions

View File

@@ -57,7 +57,6 @@ void App::Snapshot::tidy() {
App::App(Container * container, Snapshot * snapshot) :
FunctionApp(container, snapshot, &m_inputViewController),
m_xContext('x',((AppsContainer *)container)->globalContext()),
m_listController(&m_listFooter, snapshot->functionStore(), &m_listHeader, &m_listFooter),
m_listFooter(&m_listHeader, &m_listController, &m_listController, ButtonRowController::Position::Bottom, ButtonRowController::Style::EmbossedGrey),
m_listHeader(&m_listStackViewController, &m_listFooter, &m_listController),
@@ -79,13 +78,6 @@ InputViewController * App::inputViewController() {
return &m_inputViewController;
}
Context * App::localContext() {
if (m_tabViewController.activeTab() == 0) {
return &m_xContext;
}
return TextFieldDelegateApp::localContext();
}
const char * App::XNT() {
return "x";
}