diff options
| author | Joaquim <joaquim.org@gmail.com> | 2021-02-01 12:14:49 (GMT) |
|---|---|---|
| committer | Joaquim <joaquim.org@gmail.com> | 2021-02-01 12:14:49 (GMT) |
| commit | a4361de0cf467b3fc4fad1dffc18d9271ba4f439 (patch) | |
| tree | 62e5355ff931eff6b4b2872308d7c91470f4e5ab /src/displayapp/screens/ApplicationList.cpp | |
| parent | ccd423bcef52b241fa0ced82d59fdb432b4347de (diff) | |
Cleanup
Diffstat (limited to 'src/displayapp/screens/ApplicationList.cpp')
| -rw-r--r-- | src/displayapp/screens/ApplicationList.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/displayapp/screens/ApplicationList.cpp b/src/displayapp/screens/ApplicationList.cpp index 0218182..0f6be27 100644 --- a/src/displayapp/screens/ApplicationList.cpp +++ b/src/displayapp/screens/ApplicationList.cpp @@ -8,11 +8,14 @@ using namespace Pinetime::Applications::Screens; -ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp *app) : Screen(app), - screens{app, { - [this]() -> std::unique_ptr<Screen> { return CreateScreen1(); }, [this]() -> std::unique_ptr<Screen> { return CreateScreen2(); }, - //[this]() -> std::unique_ptr<Screen> { return CreateScreen3(); } - }} +ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp *app) : + Screen(app), + screens{app, { + [this]() -> std::unique_ptr<Screen> { return CreateScreen1(); }, + [this]() -> std::unique_ptr<Screen> { return CreateScreen2(); }, + //[this]() -> std::unique_ptr<Screen> { return CreateScreen3(); } + } + } { } @@ -72,7 +75,7 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen3() { std::array<Screens::Tile::Applications, 6> applications{ {{"A", Apps::Meter}, - {"B", Apps::Gauge}, + {"B", Apps::None}, {"C", Apps::Clock}, {"D", Apps::Music}, {"E", Apps::SysInfo}, |
