From c78211952efa07bf2f7b648493e5cbd90331672d Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Wed, 22 Feb 2023 22:18:15 +0200 Subject: screens: Remove explicit Screen constructors This constructor didn't do anything since DisplayApp reference was removed from the Screen base class. --- src/displayapp/screens/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/displayapp/screens/Timer.cpp') diff --git a/src/displayapp/screens/Timer.cpp b/src/displayapp/screens/Timer.cpp index 9d5b2fa9..60201cb8 100644 --- a/src/displayapp/screens/Timer.cpp +++ b/src/displayapp/screens/Timer.cpp @@ -17,7 +17,7 @@ static void btnEventHandler(lv_obj_t* obj, lv_event_t event) { } } -Timer::Timer(DisplayApp* app, Controllers::TimerController& timerController) : Screen(app), timerController {timerController} { +Timer::Timer(DisplayApp* app, Controllers::TimerController& timerController) : timerController {timerController} { lv_obj_t* colonLabel = lv_label_create(lv_scr_act(), nullptr); lv_obj_set_style_local_text_font(colonLabel, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &jetbrains_mono_76); -- cgit v1.2.3-70-g09d2