diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-21 06:04:29 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-21 06:25:10 (GMT) |
| commit | 686569ce43327ad8edbc247e3a41e3cfc161ff9b (patch) | |
| tree | 1673502ef995b7abeaad5c830f94a80d784b3fbb | |
| parent | d938be6b09bfa62c8f2ec5fbe7edc72c7472d0ca (diff) | |
Remove unused member from Timer App class
| -rw-r--r-- | src/displayapp/screens/Timer.cpp | 2 | ||||
| -rw-r--r-- | src/displayapp/screens/Timer.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/screens/Timer.cpp b/src/displayapp/screens/Timer.cpp index 167b7b1..998dfcb 100644 --- a/src/displayapp/screens/Timer.cpp +++ b/src/displayapp/screens/Timer.cpp @@ -49,7 +49,7 @@ void Timer::CreateButtons() { } Timer::Timer(DisplayApp* app, Controllers::TimerController& timerController) - : Screen(app), running {true}, timerController {timerController} { + : Screen(app), timerController {timerController} { backgroundLabel = lv_label_create(lv_scr_act(), nullptr); lv_obj_set_click(backgroundLabel, true); lv_label_set_long_mode(backgroundLabel, LV_LABEL_LONG_CROP); diff --git a/src/displayapp/screens/Timer.h b/src/displayapp/screens/Timer.h index 93e84c8..f7772fa 100644 --- a/src/displayapp/screens/Timer.h +++ b/src/displayapp/screens/Timer.h @@ -20,7 +20,6 @@ namespace Pinetime::Applications::Screens { private: void CreateButtons(); - bool running; uint8_t secondsToSet = 0; uint8_t minutesToSet = 0; Controllers::TimerController& timerController; |
