diff options
| author | panky-codes <pankaj.sarathy1992@gmail.com> | 2021-03-15 20:35:36 (GMT) |
|---|---|---|
| committer | panky-codes <pankaj.sarathy1992@gmail.com> | 2021-03-15 20:35:36 (GMT) |
| commit | abc30028a2b3d0089bca880a73e7fbad9d7cd9bb (patch) | |
| tree | e7b0c2bc724cbb8211d496fe9c053047240174b5 /src/displayapp/screens/StopWatch.h | |
| parent | bc6d447a5f7b272047c8bb977f6a476413268782 (diff) | |
Removed unused variables. Tested.
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
| -rw-r--r-- | src/displayapp/screens/StopWatch.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h index a5cf5ce..2b9c67a 100644 --- a/src/displayapp/screens/StopWatch.h +++ b/src/displayapp/screens/StopWatch.h @@ -63,7 +63,7 @@ namespace Pinetime::Applications::Screens { class StopWatch : public Screen { public: - StopWatch(DisplayApp* app, const Pinetime::Controllers::DateTime& dateTime); + StopWatch(DisplayApp* app); ~StopWatch() override; bool Refresh() override; bool OnButtonPushed() override; @@ -71,7 +71,6 @@ namespace Pinetime::Applications::Screens { void stopLapBtnEventHandler(lv_event_t event); private: - const Pinetime::Controllers::DateTime& dateTime; bool running; States currentState; Events currentEvent; @@ -84,4 +83,4 @@ namespace Pinetime::Applications::Screens { lv_obj_t *time, *msecTime, *btnPlayPause, *btnStopLap, *txtPlayPause, *txtStopLap; lv_obj_t *lapOneText, *lapTwoText; }; -}
\ No newline at end of file +} |
