[apps] Use the shared language controller in the settings app

This commit is contained in:
Romain Goyet
2017-09-28 16:02:29 +02:00
committed by EmilieNumworks
parent cb097abe95
commit bcdad4a5f9
10 changed files with 67 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
#include "language_controller.h"
namespace Settings {
bool LanguageController::handleEvent(Ion::Events::Event event) {
if (Shared::LanguageController::handleEvent(event)) {
static_cast<StackViewController *>(parentResponder())->pop();
return true;
}
return false;
}
}