fix(color): when the personal templates folder is empty the description section shows 'Text' (#6035)
This commit is contained in:
@@ -49,6 +49,7 @@ TemplatePage::TemplatePage() : Page(ICON_MODEL_SELECT, PAD_ZERO)
|
|||||||
LV_GRID_ALIGN_START, 0, 1);
|
LV_GRID_ALIGN_START, 0, 1);
|
||||||
|
|
||||||
infoLabel = lv_label_create(line->getLvObj());
|
infoLabel = lv_label_create(line->getLvObj());
|
||||||
|
lv_label_set_text(infoLabel, "");
|
||||||
lv_obj_set_height(infoLabel, body->height() - PAD_SMALL * 2);
|
lv_obj_set_height(infoLabel, body->height() - PAD_SMALL * 2);
|
||||||
etx_obj_add_style(infoLabel, styles->text_align_left, LV_PART_MAIN);
|
etx_obj_add_style(infoLabel, styles->text_align_left, LV_PART_MAIN);
|
||||||
etx_txt_color(infoLabel, COLOR_THEME_PRIMARY1_INDEX);
|
etx_txt_color(infoLabel, COLOR_THEME_PRIMARY1_INDEX);
|
||||||
|
|||||||
Reference in New Issue
Block a user