diff options
author | Niall Cooling <niallcooling@gmail.com> | 2021-03-22 17:23:49 +0000 |
---|---|---|
committer | Niall Cooling <niallcooling@gmail.com> | 2021-03-22 17:23:49 +0000 |
commit | e5e3fc02b8a2adf9ea100c162d1290cecdf617ef (patch) | |
tree | 78d4da0239ff8bf7a8694c28f804f81d2496979f /src/displayapp/screens/SystemInfo.cpp | |
parent | 14bd790701f4e2f6d75ef8a1f52b9f38023c2dd9 (diff) | |
parent | 9f9d0eb5df8ff86b9cd1e095afa3159094dde53c (diff) |
Updated to include WatchFaceAnalog and fixed clashes
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
-rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index 2de5dada..0d6f8e5a 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -20,11 +20,14 @@ SystemInfo::SystemInfo(Pinetime::Applications::DisplayApp *app, Screen(app), dateTimeController{dateTimeController}, batteryController{batteryController}, brightnessController{brightnessController}, bleController{bleController}, watchdog{watchdog}, - screens{app, { + screens{app, + 0, + { [this]() -> std::unique_ptr<Screen> { return CreateScreen1(); }, [this]() -> std::unique_ptr<Screen> { return CreateScreen2(); }, [this]() -> std::unique_ptr<Screen> { return CreateScreen3(); } - } + }, + Screens::ScreenListModes::UpDown } {} @@ -119,6 +122,6 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() { "Public License v3\n" "Source code:\n" "https://github.com/\n" - " JF002/Pinetime"); + " JF002/InfiniTime"); return std::unique_ptr<Screen>(new Screens::Label(app, t3)); } |