Skip to content

Commit f88e905

Browse files
authored
fix(color): when the personal templates folder is empty the description section shows 'Text' (#6035)
1 parent a830a55 commit f88e905

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

radio/src/gui/colorlcd/model/model_templates.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ TemplatePage::TemplatePage() : Page(ICON_MODEL_SELECT, PAD_ZERO)
4949
LV_GRID_ALIGN_START, 0, 1);
5050

5151
infoLabel = lv_label_create(line->getLvObj());
52+
lv_label_set_text(infoLabel, "");
5253
lv_obj_set_height(infoLabel, body->height() - PAD_SMALL * 2);
5354
etx_obj_add_style(infoLabel, styles->text_align_left, LV_PART_MAIN);
5455
etx_txt_color(infoLabel, COLOR_THEME_PRIMARY1_INDEX);

0 commit comments

Comments
 (0)