diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2022-04-18 19:57:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 19:57:40 +0300 |
commit | ed91b5a9981898078ad8e4cf105b5d52c7b63dfe (patch) | |
tree | a1011cafa0bd0b538119331fc7e092b4d716ac03 /src/displayapp/screens/Motion.cpp | |
parent | ff73f67d6f0ac6dde480aa82b0c225377ce60d49 (diff) | |
parent | 68a7016080115dd7a7eae1041eb2a75457aae0cd (diff) |
Merge pull request #1044 from Riksu9000/replace-lv_set_text
Replace lv_label_set_text where possible
Diffstat (limited to 'src/displayapp/screens/Motion.cpp')
-rw-r--r-- | src/displayapp/screens/Motion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Motion.cpp b/src/displayapp/screens/Motion.cpp index 23eb2765..799dcb3b 100644 --- a/src/displayapp/screens/Motion.cpp +++ b/src/displayapp/screens/Motion.cpp @@ -35,7 +35,7 @@ Motion::Motion(Pinetime::Applications::DisplayApp* app, Controllers::MotionContr labelStep = lv_label_create(lv_scr_act(), NULL); lv_obj_align(labelStep, chart, LV_ALIGN_IN_BOTTOM_LEFT, 0, 0); - lv_label_set_text(labelStep, "Steps ---"); + lv_label_set_text_static(labelStep, "Steps ---"); taskRefresh = lv_task_create(RefreshTaskCallback, LV_DISP_DEF_REFR_PERIOD, LV_TASK_PRIO_MID, this); } |