summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/WatchFaceTerminal.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-05-11 19:50:02 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-05-11 19:50:02 (GMT)
commit025f900833838f9312a78ed7422b9f36a4e58300 (patch)
treea233e0a25956ad456344cf2a009f9f0df0f6c9fe /src/displayapp/screens/WatchFaceTerminal.cpp
parent3e4591261603a342e1acef1ba36a55bc3c744d77 (diff)
Fix font for terminal watchface
Diffstat (limited to 'src/displayapp/screens/WatchFaceTerminal.cpp')
-rw-r--r--src/displayapp/screens/WatchFaceTerminal.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/screens/WatchFaceTerminal.cpp b/src/displayapp/screens/WatchFaceTerminal.cpp
index 00f4b60..65368c5 100644
--- a/src/displayapp/screens/WatchFaceTerminal.cpp
+++ b/src/displayapp/screens/WatchFaceTerminal.cpp
@@ -72,6 +72,10 @@ WatchFaceTerminal::WatchFaceTerminal(DisplayApp* app,
lv_label_set_recolor(stepValue, true);
lv_obj_align(stepValue, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, 0);
+ for (auto line : lines) {
+ lv_obj_set_style_local_text_font( line, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &neofont15mono);
+ }
+
taskRefresh = lv_task_create(RefreshTaskCallback, LV_DISP_DEF_REFR_PERIOD, LV_TASK_PRIO_MID, this);
Refresh();
}