diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2022-03-20 14:47:25 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2022-04-18 16:47:42 (GMT) |
| commit | 68a7016080115dd7a7eae1041eb2a75457aae0cd (patch) | |
| tree | a1011cafa0bd0b538119331fc7e092b4d716ac03 /src/displayapp/screens/FlashLight.cpp | |
| parent | ff73f67d6f0ac6dde480aa82b0c225377ce60d49 (diff) | |
Replace lv_label_set_text where possible
Diffstat (limited to 'src/displayapp/screens/FlashLight.cpp')
| -rw-r--r-- | src/displayapp/screens/FlashLight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/FlashLight.cpp b/src/displayapp/screens/FlashLight.cpp index c4d0264..0634187 100644 --- a/src/displayapp/screens/FlashLight.cpp +++ b/src/displayapp/screens/FlashLight.cpp @@ -45,7 +45,7 @@ FlashLight::FlashLight(Pinetime::Applications::DisplayApp* app, lv_label_set_long_mode(backgroundAction, LV_LABEL_LONG_CROP); lv_obj_set_size(backgroundAction, 240, 240); lv_obj_set_pos(backgroundAction, 0, 0); - lv_label_set_text(backgroundAction, ""); + lv_label_set_text_static(backgroundAction, ""); lv_obj_set_click(backgroundAction, true); backgroundAction->user_data = this; lv_obj_set_event_cb(backgroundAction, event_handler); |
