[apps/statistics] Inline method in BoxController

This commit is contained in:
Léa Saviot
2018-05-21 17:26:12 +02:00
parent 9376b7c62d
commit f6ceeeb793
2 changed files with 1 additions and 5 deletions

View File

@@ -37,10 +37,6 @@ const char * BoxController::title() {
return I18n::translate(I18n::Message::BoxTab);
}
View * BoxController::view() {
return &m_view;
}
void BoxController::viewWillAppear() {
m_view.selectMainView(true);
reloadBannerView();

View File

@@ -19,7 +19,7 @@ public:
// ViewController
const char * title() override;
View * view() override;
View * view() override { return &m_view; }
void viewWillAppear() override;
ViewController::DisplayParameter displayParameter() override { return ViewController::DisplayParameter::DoNotShowOwnTitle; }