From 686569ce43327ad8edbc247e3a41e3cfc161ff9b Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Thu, 21 Apr 2022 08:04:29 +0200 Subject: Remove unused member from Timer App class 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; -- cgit v0.10.2