fix(color): when the personal templates folder is empty the description section shows 'Text' (#6035)

This commit is contained in:
philmoz
2025-03-31 15:07:10 +10:00
committed by GitHub
parent a830a55087
commit f88e9059ad
@@ -49,6 +49,7 @@ TemplatePage::TemplatePage() : Page(ICON_MODEL_SELECT, PAD_ZERO)
LV_GRID_ALIGN_START, 0, 1);
infoLabel = lv_label_create(line->getLvObj());
lv_label_set_text(infoLabel, "");
lv_obj_set_height(infoLabel, body->height() - PAD_SMALL * 2);
etx_obj_add_style(infoLabel, styles->text_align_left, LV_PART_MAIN);
etx_txt_color(infoLabel, COLOR_THEME_PRIMARY1_INDEX);