summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Clock.h
diff options
context:
space:
mode:
authorFlorian <florian@florian-thinkpad.local>2021-06-10 23:15:32 (GMT)
committerFlorian <florian@florian-thinkpad.local>2021-06-10 23:15:32 (GMT)
commit049174bd3535d980a2744cbf035e1e33d33b5e39 (patch)
treeab2e485cddc2212f5500293978ac62fb891b49f3 /src/displayapp/screens/Clock.h
parent79f0fcb07aa80eb70385223272e29f2ba5657bc8 (diff)
replace ScreenList with a single screen in Clock. This removes the tap to switch feature
Diffstat (limited to 'src/displayapp/screens/Clock.h')
-rw-r--r--src/displayapp/screens/Clock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/Clock.h b/src/displayapp/screens/Clock.h
index 9879985..174c73b 100644
--- a/src/displayapp/screens/Clock.h
+++ b/src/displayapp/screens/Clock.h
@@ -4,8 +4,8 @@
#include <chrono>
#include <cstdint>
#include <memory>
+#include <components/heartrate/HeartRateController.h>
#include "Screen.h"
-#include "ScreenList.h"
#include "components/datetime/DateTimeController.h"
namespace Pinetime {
@@ -47,7 +47,7 @@ namespace Pinetime {
Controllers::HeartRateController& heartRateController;
Controllers::MotionController& motionController;
- ScreenList<2> screens;
+ std::unique_ptr<Screen> screen;
std::unique_ptr<Screen> WatchFaceDigitalScreen();
std::unique_ptr<Screen> WatchFaceAnalogScreen();