aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/WatchFaceInfineat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/WatchFaceInfineat.h')
-rw-r--r--src/displayapp/screens/WatchFaceInfineat.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h
index 26973efe..ef908ffc 100644
--- a/src/displayapp/screens/WatchFaceInfineat.h
+++ b/src/displayapp/screens/WatchFaceInfineat.h
@@ -6,6 +6,7 @@
#include <memory>
#include "displayapp/screens/Screen.h"
#include "components/datetime/DateTimeController.h"
+#include "utility/DirtyValue.h"
namespace Pinetime {
namespace Controllers {
@@ -51,14 +52,14 @@ namespace Pinetime {
uint32_t savedTick = 0;
uint8_t chargingBatteryPercent = 101; // not a mistake ;)
- DirtyValue<uint8_t> batteryPercentRemaining {};
- DirtyValue<bool> isCharging {};
- DirtyValue<bool> bleState {};
- DirtyValue<bool> bleRadioEnabled {};
- DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime {};
- DirtyValue<bool> motionSensorOk {};
- DirtyValue<uint32_t> stepCount {};
- DirtyValue<bool> notificationState {};
+ Utility::DirtyValue<uint8_t> batteryPercentRemaining {};
+ Utility::DirtyValue<bool> isCharging {};
+ Utility::DirtyValue<bool> bleState {};
+ Utility::DirtyValue<bool> bleRadioEnabled {};
+ Utility::DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime {};
+ Utility::DirtyValue<bool> motionSensorOk {};
+ Utility::DirtyValue<uint32_t> stepCount {};
+ Utility::DirtyValue<bool> notificationState {};
// Lines making up the side cover
lv_obj_t* lineBattery;