aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Motion.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-02-22 22:18:15 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-02-25 16:56:03 +0200
commitc78211952efa07bf2f7b648493e5cbd90331672d (patch)
tree6258db2c204ebe35973d43010eb4dd292eeefb29 /src/displayapp/screens/Motion.cpp
parent7c7a8602c473bc160506e064097bd9ecc204425b (diff)
screens: Remove explicit Screen constructors
This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
Diffstat (limited to 'src/displayapp/screens/Motion.cpp')
-rw-r--r--src/displayapp/screens/Motion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Motion.cpp b/src/displayapp/screens/Motion.cpp
index e3689599..ac6af3b0 100644
--- a/src/displayapp/screens/Motion.cpp
+++ b/src/displayapp/screens/Motion.cpp
@@ -6,7 +6,7 @@
using namespace Pinetime::Applications::Screens;
Motion::Motion(Pinetime::Applications::DisplayApp* app, Controllers::MotionController& motionController)
- : Screen(app), motionController {motionController} {
+ : motionController {motionController} {
chart = lv_chart_create(lv_scr_act(), nullptr);
lv_obj_set_size(chart, 240, 240);
lv_obj_align(chart, nullptr, LV_ALIGN_IN_TOP_MID, 0, 0);