Removed unused variables. Tested.

This commit is contained in:
panky-codes
2021-03-15 21:35:36 +01:00
parent bc6d447a5f
commit abc30028a2
3 changed files with 8 additions and 9 deletions

View File

@@ -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;
};
}
}