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/PassKey.cpp | |
| parent | 2643cda7fee510462efc4447f3ca41f568ae8bce (diff) | |
Use ..set_text_static when statically-allocated strings are used
Diffstat (limited to 'src/displayapp/screens/PassKey.cpp')
| -rw-r--r-- | src/displayapp/screens/PassKey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/PassKey.cpp b/src/displayapp/screens/PassKey.cpp index 9e43a54..e9715cd 100644 --- a/src/displayapp/screens/PassKey.cpp +++ b/src/displayapp/screens/PassKey.cpp @@ -15,7 +15,7 @@ PassKey::PassKey(Pinetime::Applications::DisplayApp* app, uint32_t key) : Screen 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, ""); } PassKey::~PassKey() { |
