summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/SystemInfo.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2021-03-21 17:15:07 (GMT)
committerGitea <gitea@fake.local>2021-03-21 17:15:07 (GMT)
commit24d3eea4fba05d774ace794eb8c9b21b8f2aa8c6 (patch)
tree500b57847eb84f73fa62e7500e5a24d1a6d2f4cb /src/displayapp/screens/SystemInfo.cpp
parent5cd4b36d6bbf22095e0ff54aa3773febc6e1f22e (diff)
parent9f9d0eb5df8ff86b9cd1e095afa3159094dde53c (diff)
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
-rw-r--r--src/displayapp/screens/SystemInfo.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp
index 2de5dad..0d6f8e5 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));
}