aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/StopWatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
-rw-r--r--src/displayapp/screens/StopWatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h
index 26cfb43f..dc69d5b4 100644
--- a/src/displayapp/screens/StopWatch.h
+++ b/src/displayapp/screens/StopWatch.h
@@ -39,13 +39,15 @@ namespace Pinetime::Applications {
void RenderPause();
void RenderLaps();
+ void SetHoursVisible(bool visible);
+
Pinetime::System::WakeLock wakeLock;
Controllers::StopWatchController& stopWatchController;
TickType_t blinkTime = 0;
static constexpr int displayedLaps = 2;
lv_obj_t *time, *msecTime, *btnPlayPause, *btnStopLap, *txtPlayPause, *txtStopLap;
lv_obj_t* lapText;
- bool isHoursLabelUpdated = false;
+ bool hoursVisible = false;
lv_task_t* taskRefresh;
};