mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
After choosing a language at onboarding, the country menu now has a specific country selected by default (Spain for Spanish, Italy for Italian...) Default countries are specified in apps/language_preferences.csv Change-Id: Ia6392aceb9bebf7e62a692c5a79eb8c4d7b71a9d
22 lines
534 B
C++
22 lines
534 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;
|
|
|
|
int indexOfCellToSelectOnReset() const override;
|
|
bool shouldDisplayTitle() const override { return false; }
|
|
|
|
bool handleEvent(Ion::Events::Event event) override;
|
|
TELEMETRY_ID("Localization");
|
|
};
|
|
}
|
|
|
|
#endif
|