diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-05-12 06:58:44 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-05-12 06:58:44 (GMT) |
| commit | 948661c9f650d59aa05ad93855703dab86603673 (patch) | |
| tree | d4942017b5aaddde1ddfc3bfd96a34464d68106e /src/displayapp/screens/Twos.cpp | |
| parent | 2643cda7fee510462efc4447f3ca41f568ae8bce (diff) | |
Use ..set_text_static when statically-allocated strings are used
Diffstat (limited to 'src/displayapp/screens/Twos.cpp')
| -rw-r--r-- | src/displayapp/screens/Twos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Twos.cpp b/src/displayapp/screens/Twos.cpp index 6d67585..ca9295d 100644 --- a/src/displayapp/screens/Twos.cpp +++ b/src/displayapp/screens/Twos.cpp @@ -90,7 +90,7 @@ Twos::Twos(Pinetime::Applications::DisplayApp* app) : Screen(app) { lv_label_set_long_mode(backgroundLabel, LV_LABEL_LONG_CROP); lv_obj_set_size(backgroundLabel, 240, 240); lv_obj_set_pos(backgroundLabel, 0, 0); - lv_label_set_text(backgroundLabel, ""); + lv_label_set_text_static(backgroundLabel, ""); } Twos::~Twos() { |
