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
22 lines
543 B
C++
22 lines
543 B
C++
#ifndef SETTING_LOCALIZATION_CONTROLLER_H
|
|
#define SETTING_LOCALIZATION_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include <apps/shared/localization_controller.h>
|
|
|
|
namespace Settings {
|
|
|
|
class LocalizationController : public Shared::LocalizationController {
|
|
public:
|
|
using Shared::LocalizationController::LocalizationController;
|
|
|
|
bool shouldDisplayTitle() override { return false; }
|
|
bool shouldResetSelectionToTopCell() override { return false; }
|
|
|
|
bool handleEvent(Ion::Events::Event event) override;
|
|
TELEMETRY_ID("Localization");
|
|
};
|
|
}
|
|
|
|
#endif
|