Modified Settings menu as per suggestion

Moved "Set date" and "Set time" to the second page of the
Settings menu.
This commit is contained in:
Tim Taenny 2021-07-09 17:49:35 +02:00
parent 3e5ad49e3a
commit 0842a13339
1 changed files with 4 additions and 4 deletions

View File

@ -56,9 +56,9 @@ std::unique_ptr<Screen> Settings::CreateScreen2() {
std::array<Screens::List::Applications, 4> applications {{ std::array<Screens::List::Applications, 4> applications {{
{Symbols::shoe, "Steps", Apps::SettingSteps}, {Symbols::shoe, "Steps", Apps::SettingSteps},
{Symbols::clock, "Set date", Apps::SettingSetDate},
{Symbols::clock, "Set time", Apps::SettingSetTime},
{Symbols::batteryHalf, "Battery", Apps::BatteryInfo}, {Symbols::batteryHalf, "Battery", Apps::BatteryInfo},
{Symbols::check, "Firmware", Apps::FirmwareValidation},
{Symbols::list, "About", Apps::SysInfo},
}}; }};
return std::make_unique<Screens::List>(1, 3, app, settingsController, applications); return std::make_unique<Screens::List>(1, 3, app, settingsController, applications);
@ -67,8 +67,8 @@ std::unique_ptr<Screen> Settings::CreateScreen2() {
std::unique_ptr<Screen> Settings::CreateScreen3() { std::unique_ptr<Screen> Settings::CreateScreen3() {
std::array<Screens::List::Applications, 4> applications {{ std::array<Screens::List::Applications, 4> applications {{
{Symbols::clock, "Set date", Apps::SettingSetDate}, {Symbols::check, "Firmware", Apps::FirmwareValidation},
{Symbols::clock, "Set time", Apps::SettingSetTime}, {Symbols::list, "About", Apps::SysInfo},
}}; }};
return std::make_unique<Screens::List>(2, 3, app, settingsController, applications); return std::make_unique<Screens::List>(2, 3, app, settingsController, applications);