diff options
Diffstat (limited to 'src/displayapp/screens/Timer.h')
| -rw-r--r-- | src/displayapp/screens/Timer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/displayapp/screens/Timer.h b/src/displayapp/screens/Timer.h index dd55602..3f6d782 100644 --- a/src/displayapp/screens/Timer.h +++ b/src/displayapp/screens/Timer.h @@ -11,14 +11,15 @@ namespace Pinetime::Applications::Screens { class Timer : public Screen { public: - enum class Modes { Normal, Done }; - Timer(DisplayApp* app, Controllers::TimerController& timerController); ~Timer() override; void Refresh() override; void RefreshRunning(); + inline void SetDone() { + RefreshRunning(); + } private: static void btnEventHandler(lv_obj_t* obj, lv_event_t event); inline void OnButtonEvent(lv_obj_t* obj, lv_event_t event) { |
