summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-05-12 22:06:46 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-05-12 22:09:25 (GMT)
commit3941af20f5814ecd8e3d992cc4dd8b97baa4ae19 (patch)
tree136692f746bb9a85f56141dc9b970eec49c38a21
parent99bfb66eb2af7c75ade54274590abd790972ea0b (diff)
Fix previous commit
-rw-r--r--src/displayapp/screens/WatchFaceTerminal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceTerminal.cpp b/src/displayapp/screens/WatchFaceTerminal.cpp
index 937820a..0e6611a 100644
--- a/src/displayapp/screens/WatchFaceTerminal.cpp
+++ b/src/displayapp/screens/WatchFaceTerminal.cpp
@@ -39,7 +39,7 @@ WatchFaceTerminal::WatchFaceTerminal(DisplayApp* app,
lv_label_set_text_static(backgroundLabel, "");
uint16_t y = -100;
- for (auto line : lines) {
+ for (auto& line : lines) {
line = lv_label_create(lv_scr_act(), nullptr);
lv_obj_align(line, nullptr, LV_ALIGN_IN_LEFT_MID, 0, y);
y += 20;