mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Classes LanguageController and CountryController have been fused into one class LocalizationController, as they were very similar. This allows the Settings and OnBoarding apps to only keep one controller for both functions. Change-Id: Ic23f300c37122249d34caaf18a633b5815240a78
14 lines
327 B
C++
14 lines
327 B
C++
#include "localization_controller.h"
|
|
|
|
namespace Settings {
|
|
|
|
bool LocalizationController::handleEvent(Ion::Events::Event event) {
|
|
if (Shared::LocalizationController::handleEvent(event) || event == Ion::Events::Left) {
|
|
static_cast<StackViewController *>(parentResponder())->pop();
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
}
|