diff options
| author | Florian <florian@florian-thinkpad.local> | 2021-06-10 23:15:32 (GMT) |
|---|---|---|
| committer | Florian <florian@florian-thinkpad.local> | 2021-06-10 23:15:32 (GMT) |
| commit | 049174bd3535d980a2744cbf035e1e33d33b5e39 (patch) | |
| tree | ab2e485cddc2212f5500293978ac62fb891b49f3 /src/displayapp/screens/Clock.h | |
| parent | 79f0fcb07aa80eb70385223272e29f2ba5657bc8 (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.h | 4 |
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(); |
